Class GameObjectExtensions
Extensions methods for the GameObject class.
Inherited Members
Namespace: Unity.XR.CoreUtils
Assembly: solution.dll
Syntax
public static class GameObjectExtensions
Methods
Name | Description |
---|---|
AddToHideFlagsRecursively(GameObject, HideFlags) | Adds |
SetHideFlagsRecursively(GameObject, HideFlags) | Sets the hide flags on this GameObject and all of its descendants. |
SetLayerAndAddToHideFlagsRecursively(GameObject, int, HideFlags) | Sets the layer of this GameObject and adds to its HideFlags, and does the same for all of its descendants. |
SetLayerAndHideFlagsRecursively(GameObject, int, HideFlags) | Sets the layer and HideFlags of this GameObject and all of its descendants. |
SetLayerRecursively(GameObject, int) | Sets the layer of this GameObject and all of its descendants. |
SetRunInEditModeRecursively(GameObject, bool) | Sets runInEditMode for all MonoBehaviours on this GameObject and its children. |