Select your preferred scripting language. All code snippets will be displayed in this language.
class in UnityEngine.AI
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.Close
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.Close
Navigation mesh builder interface.
|isRunning||Returns true if an asynchronous build is still running.|
|BuildNavMesh||Build the Navmesh.|
|BuildNavMeshAsync||Build the Navmesh Asyncronously.|
|BuildNavMeshData||Builds a NavMesh data object from the provided input sources.|
|BuildNavMeshForMultipleScenes||Builds the combined navmesh for the contents of multiple scenes.|
|Cancel||Cancels an asynchronous update of the specified NavMesh data. See Also: UpdateNavMeshDataAsync.|
|ClearAllNavMeshes||Clear all Navmeshes.|
|CollectSources||For convenience, you can create a list of build sources directly from the current geometry.|
|UpdateNavMeshData||Incrementally updates the NavMeshData based on the sources.|
|UpdateNavMeshDataAsync||Asynchronously and incrementally updates the NavMeshData based on the sources.|