Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RemoveAllNavMeshData()

Removes all NavMesh surfaces and links from the game.
Read time 1 minuteLast updated 13 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
public static void RemoveAllNavMeshData()

Remarks

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.