IDToName(int)
Returns the unique id of the layer. Will return "\<unknown layer\>" if an invalid id is given.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static string IDToName(int id)
Parameters
The unique id of the layer.
Returns
Type | Description |
|---|---|
| string | The name of the layer with |