GetTexture(int)
Retrieve the texture which is currently assigned to the specified layer.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public Texture2D GetTexture(int layer = 0)
Parameters
Cannot be larger than PlatformIcon.maxLayerCount.
Returns
Type | Description |
|---|---|
| Texture2D |