GetNavMeshArea(GameObject)
Get the navmesh area index for the GameObject.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static int GetNavMeshArea(GameObject go)
Parameters
The GameObject to query.
Returns
Type | Description |
|---|---|
| int | NavMesh area index. |