API reference
API reference
Select your platform
No SDKs available
No versions available

HierarchySimplifier Class

Extends MonoBehaviour
A monobehaviour tagging object which can be used to hide/show objects in the hierarchy

Fields

hideByDefault : bool
A basic flag for whether to hide the object on startup, by default.
Signature
bool Oculus.Voice.UX.HierarchySimplifier.hideByDefault

Static Methods

HideSubObjects ( obj , hideObjects )
Toggles the HideInHierarchy flag in all game objects containing a HierarchySimplifier underneath the given object.
Signature
static void Oculus.Voice.UX.HierarchySimplifier.HideSubObjects(GameObject obj, bool hideObjects)
Parameters
obj: GameObject  parent object under which all affected objects will be modified
hideObjects: bool  whether to hide affected objects in the hierarchy
Returns
void
ToggleShowInHierarchyFlag ( obj , hideObject )
Signature
static void Oculus.Voice.UX.HierarchySimplifier.ToggleShowInHierarchyFlag(GameObject obj, bool hideObject)
Parameters
obj: GameObject
hideObject: bool
Returns
void