文档

Unity Engine

Unity Engine

RemoveAllNavMeshData()

Removes all NavMesh surfaces and links from the game.
阅读时间1 分钟最后更新于 1 个月前

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.