Version: 2023.1
언어: 한국어
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.