NavMeshBuilder Manual     Reference     Scripting  
Scripting > Editor Classes > NavMeshBuilder
NavMeshBuilder

Navigation mesh builder interface.

Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.

Class Variables
navMeshSettingsObject

object containing settings for the Navmesh

isRunning

returns true if an asynchronous build is still running

Class Functions
BuildNavMesh

Build the Navmesh

BuildNavMeshAsync

Build the Navmesh Asyncronously

ClearAllNavMeshes

Clear all Navmeshes

Cancel

cancel Navmesh construction