GetNavMeshLayer(GameObject)
Get the navmesh layer for the GameObject.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static int GetNavMeshLayer(GameObject go)
Parameters
The GameObject to check.
Returns
Type | Description |
|---|---|
| int | The navmesh layer for the GameObject specified. |