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.
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.
Member Name | Summary |
---|---|
Enabled | Components that are enabled |
Disabled | Components that are disabled |
InSelf | Components in this object |
InParent | Components in our parent |
InAncestors | Components in all ancestors (parent, their parent, their parent, etc) |
InChildren | Components in our children |
InDescendants | Components in all descendants (our children, their children, their children etc) |
EnabledInSelf | |
EnabledInSelfAndDescendants | |
EnabledInSelfAndChildren | |
DisabledInSelf | |
DisabledInSelfAndDescendants | |
DisabledInSelfAndChildren | |
EverythingInSelf | |
EverythingInSelfAndDescendants | |
EverythingInSelfAndChildren | |
EverythingInSelfAndParent | |
EverythingInSelfAndAncestors | |
EverythingInAncestors | |
EverythingInChildren | |
EverythingInDescendants |