Class NavMeshModifierVolume
Component used by the NavMesh building process to assign a different area type to the region inside the specified volume.
Inherited Members
Namespace: Unity.AI.Navigation
Assembly: solution.dll
Syntax
[ExecuteAlways]
[AddComponentMenu("Navigation/NavMeshModifierVolume", 31)]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.ai.navigation@1.1/manual/NavMeshModifierVolume.html")]
public class NavMeshModifierVolume : MonoBehaviour
Properties
Name | Description |
---|---|
active |
Gets the list of all the Nav |
area | Gets or sets the area type that will be enforced by the volume during the generation of the NavMesh. |
center | Gets or sets the center position of the modifier volume. |
size | Gets or sets the dimensions of the cuboid modifier volume. |
Methods
Name | Description |
---|---|
Affects |
Verifies whether this modifier volume can affect in any way the generation of a NavMesh for a given agent type. |