Defines which additional GameObjects to include in search when finding objects attached to a GameObject or related GameObjects.
Enumerator |
---|
Children | Search the GameObject, its children and its grandchildren.
|
Parents | Search the GameObject, its parent or and its grandparents.
|
Scene | Search all GameObjects in the scene that the GameObject is part of.
|
Inactive | Search inactive GameObjects in addition to active ones.
|
ChildrenAndParents | Search the GameObject, its children, its grandchildren, its parent and its grandparents.
Only active children and parents will be included in the search.
|
ChildrenAndParentsIncludingInactive | Search the GameObject, its children, its grandchildren, its parent and its grandparents.
All children and parents will be included in the search regardless of their active state.
|
ParentsIncludingInactive | Search the GameObject, its parent and its grandparents.
All parents will be included in the search regardless of their active state.
|
ChildrenIncludingInactive | Search the GameObject, its children and its grandchildren.
All children will be included in the search regardless of their active state.
|
SceneIncludingInactive | Search all GameObjects in the scene that the GameObject is part of.
All GameObjects that are part of the scene will be included in the search regardless of their active state.
|