docs.unity.cn
    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 — Terms of use
    Generated by DocFX
    on Thursday, June 1, 2023