enum FindMode : System.Enum

book_4_sparkGenerated
code_blocksInput

Description

The FindMode enumeration in the Sandbox namespace provides flags to search for components. It is designed to be generic, allowing for potential reuse in searching for GameObjects as well.

Members

Static Fields

Member NameSummary
EnabledComponents that are enabled
DisabledComponents that are disabled
InSelfComponents in this object
InParentComponents in our parent
InAncestorsComponents in all ancestors (parent, their parent, their parent, etc)
InChildrenComponents in our children
InDescendantsComponents in all descendants (our children, their children, their children etc)
EnabledInSelf
EnabledInSelfAndDescendants
EnabledInSelfAndChildren
DisabledInSelf
DisabledInSelfAndDescendants
DisabledInSelfAndChildren
EverythingInSelf
EverythingInSelfAndDescendants
EverythingInSelfAndChildren
EverythingInSelfAndParent
EverythingInSelfAndAncestors
EverythingInAncestors
EverythingInChildren
EverythingInDescendants