NavMesh.RemoveAllNavMeshData

Switch to Manual
public static void RemoveAllNavMeshData ();

Description

从游戏中删除所有导航网格表面和链接。

Unloads all surfaces and links that have been loaded from the Scene or added with NavMesh.AddNavMeshData or NavMesh.AddLink and frees all the internal resources associated with the NavMesh.

另请参阅:NavMesh.RemoveNavMeshDataNavMesh.RemoveLink