SetNavMeshLayer(GameObject, int)
Set the navmesh layer for the GameObject.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
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.