Version: 2023.2

NavMesh.RemoveAllNavMeshData

切换到手册
public static void RemoveAllNavMeshData ();

描述

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

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

Additional resources: RemoveNavMeshData, RemoveLink.