GetTexture(int)
Retrieve the texture which is currently assigned to the specified layer.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public Texture2D GetTexture(int layer = 0)
Parameters
Cannot be larger than PlatformIcon.maxLayerCount.
Returns
Type | Description |
|---|---|
| Texture2D |