docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)