- Namespace
- UnityEngine
.AI - Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type["NavMeshSurface"]
class Type type-node
Syntax
[ExecuteAlways]
[DefaultExecutionOrder(-102)]
[AddComponentMenu("Navigation/NavMeshSurface", 30)]
[HelpURL("https://github.com/Unity-Technologies/NavMeshComponents#documentation-draft")]
public class NavMeshSurface : MonoBehaviour
Attributes
Type | Description |
---|---|
ExecuteAlways | |
Default |
|
AddComponentMenu | |
HelpURL |
Properties
Name | Value | Summary |
---|---|---|
activeSurfaces | List |
static
|
agentTypeID | int | |
buildHeightMesh | bool | |
center | Vector3 | |
collectObjects | CollectObjects | |
defaultArea | int | |
ignoreNavMeshAgent | bool | |
ignore |
bool | |
layerMask | LayerMask | |
navMeshData | NavMeshData | |
overrideTileSize | bool | |
overrideVoxelSize | bool | |
size | Vector3 | |
tileSize | int | |
useGeometry | Nav |
|
voxelSize | float |
Methods
Name | Value | Summary |
---|---|---|
AddData |
void | |
BuildNavMesh |
void | |
GetBuildSettings |
NavMeshBuildSettings | |
RemoveData |
void | |
UpdateNavMesh |
AsyncOperation |