Api Sandbox FindMode
enum

FindMode

public sealed enum FindMode : Enum

Flags to search for Components. I've named this something generic because I think we can re-use it to search for GameObjects too.

Enum Values

Name Value Description
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 decendants (our children, their children, their children etc)
EnabledInSelf
EnabledInSelfAndDescendants
EnabledInSelfAndChildren
DisabledInSelf
DisabledInSelfAndDescendants
DisabledInSelfAndChildren
EverythingInSelf
EverythingInSelfAndDescendants
EverythingInSelfAndChildren
EverythingInSelfAndParent
EverythingInSelfAndAncestors
EverythingInAncestors
EverythingInChildren
EverythingInDescendants
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.FindMode