核心代码:
//texPath为图片路径
texImporter = TextureImporter.GetAtPath(texPath) as TextureImporter;
if (texImporter.DoesSourceTextureHaveAlpha())
{
return true;
}
核心代码:
//texPath为图片路径
texImporter = TextureImporter.GetAtPath(texPath) as TextureImporter;
if (texImporter.DoesSourceTextureHaveAlpha())
{
return true;
}
3812
5835
1563

被折叠的 条评论
为什么被折叠?