Skip to main content

NavMesh.RemoveAllNavMeshData()

Removes all NavMesh surfaces and links from the game.

Usage


NavMesh:RemoveAllNavMeshData()

Extra Detail

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.