Class NavMeshAssetManager
Manages assets and baking operation of the NavMesh
Inheritance
NavMeshAssetManager
Inherited Members
ScriptableSingleton<NavMeshAssetManager>.GetFilePath()
ScriptableSingleton<NavMeshAssetManager>.instance
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.AI.Navigation.Editor
Assembly: Unity.AI.Navigation.Editor.dll
Syntax
public class NavMeshAssetManager : ScriptableSingleton<NavMeshAssetManager>
Methods
ClearSurfaces(Object[])
Clear NavMesh surfaces
Declaration
public void ClearSurfaces(Object[] surfaces)
Parameters
| Type | Name | Description |
|---|---|---|
| Object[] | surfaces | List of surfaces |
IsSurfaceBaking(NavMeshSurface)
Checks if an operation of baking is in progress for a specified surface
Declaration
public bool IsSurfaceBaking(NavMeshSurface surface)
Parameters
| Type | Name | Description |
|---|---|---|
| NavMeshSurface | surface | A NavMesh surface |
Returns
| Type | Description |
|---|---|
| bool | True if the specified surface is baking |
StartBakingSurfaces(Object[])
Start baking a list of NavMeshSurface
Declaration
public void StartBakingSurfaces(Object[] surfaces)
Parameters
| Type | Name | Description |
|---|---|---|
| Object[] | surfaces | List of surfaces |