标签:sse bug code image 判断 span source div --
1 var texImporter = AssetImporter.GetAtPath(assetPath) as TextureImporter; 2 if (texImporter.DoesSourceTextureHaveAlpha()) 3 { 4 Debug.Log("textures source image don‘t have alpha channel "); 5 } 6 else 7 { 8 Debug.Log("textures source image have alpha channel "); 9 }
Unity --- 如何简单的判断图片是否含有 alpha channel
标签:sse bug code image 判断 span source div --
原文地址:https://www.cnblogs.com/luguoshuai/p/10677717.html