IDToName(int)
Returns the unique id of the layer. Will return "\<unknown layer\>" if an invalid id is given.
Read time 1 minuteLast updated 4 days ago
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 id or "\<unknown layer\>" for invalid id. |