GetNavMeshAreaFromName(string)
Get the navmesh area index from the area name.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static int GetNavMeshAreaFromName(string name)
Parameters
NavMesh area name to query.
Returns
Type | Description |
|---|---|
| int | The NavMesh area index. If there is no NavMesh area with the requested name, the return value is -1. |