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 }