Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

NavMeshBuilder

class in UnityEngine.AI

/

Implemented in:UnityEngine.AIModule

Description

Navigation mesh builder interface.

Static Properties

isRunningReturns true if an asynchronous build is still running.

Static Methods

BuildNavMeshBuild the Navmesh.
BuildNavMeshAsyncBuild the Navmesh Asyncronously.
BuildNavMeshDataBuilds a NavMesh data object from the provided input sources.
BuildNavMeshForMultipleScenesBuilds the combined navmesh for the contents of multiple scenes.
CancelCancels an asynchronous update of the specified NavMesh data. See Also: UpdateNavMeshDataAsync.
ClearAllNavMeshesClear all Navmeshes.
CollectSourcesFor convenience, you can create a list of build sources directly from the current geometry.
UpdateNavMeshDataIncrementally updates the NavMeshData based on the sources.
UpdateNavMeshDataAsyncAsynchronously and incrementally updates the NavMeshData based on the sources.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答