public static int GetNavMeshAreaFromName (string name);

파라미터

nameNavMesh area name to query.

반환

int The NavMesh area index. If there is no NavMesh area with the requested name, the return value is -1.

설명

Get the navmesh area index from the area name.