GetNavMeshLayerFromName(string)
Get the navmesh layer from the layer name.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static int GetNavMeshLayerFromName(string name)
Parameters
The name of the navmesh layer.
Returns
Type | Description |
|---|---|
| int | The layer number of the navmesh layer name specified. |