SetTexture(Texture2D, int)
Assign a texture to the specified layer.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public void SetTexture(Texture2D texture, int layer = 0)
Parameters
Remarks
Texture file must be stored in the project and instance obtained using AssetDatabase.LoadAssetAtPath.