Version: 2021.2
언어: 한국어

TextureImporter.DoesSourceTextureHaveAlpha

매뉴얼로 전환
public bool DoesSourceTextureHaveAlpha ();

설명

Allows you to check whether the texture source image has an alpha channel.

This method throws an exception if the texture has not finished importing. For example, it would throw an exception if you called this method in an AssetPostprocessor.OnPreprocessAsset callback.