Version: 2021.2
言語: 日本語
public void SetTexture (Texture2D texture, int layer);

パラメーター

layer Cannot be larger than PlatformIcon.maxLayerCount.

説明

Assign a texture to the specified layer.

Texture file must be stored in the project and instance obtained using AssetDatabase.LoadAssetAtPath.