Enum CollectObjects
Sets the method for filtering the objects retrieved when baking the NavMesh.
Namespace: Unity.AI.Navigation
Assembly: Unity.AI.Navigation.dll
Syntax
public enum CollectObjects
Fields
| Name | Description |
|---|---|
| All | Use all the active objects. |
| Children | Use all the active objects that are children of this GameObject. |
| MarkedWithModifier | Use all the active objects that are marked with a NavMeshModifier. |
| Volume | Use all the active objects that overlap the bounding volume. |