docs.unity3d.com
    Show / Hide Table of Contents

    Enum CollectObjects

    Sets the method for filtering the objects retrieved when baking the NavMesh.

    Namespace: Unity.AI.Navigation
    Syntax
    public enum CollectObjects

    Fields

    Name Description Value
    All

    Use all the active objects.


    0
    Volume

    Use all the active objects that overlap the bounding volume.


    1
    Children

    Use all the active objects that are children of this GameObject.


    This includes the current GameObject and all the children of the children that are active.

    2
    MarkedWithModifier

    Use all the active objects that are marked with a NavMeshModifier.


    3
    Back to top
    Copyright © 2023 Unity Technologies
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on Thursday, October 19, 2023