SetNavMeshLayer(GameObject, int)
Set the navmesh layer for the GameObject.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static void SetNavMeshLayer(GameObject go, int areaIndex)
Parameters
The GameObject on which to set the navmesh layer.
The layer number you want to set.