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

MenuToggler Class

Extends MonoBehaviour
Component to show a panel gameobject placing it in front of the user.
It can be controller externally and closed with a button.

Properties

Transform HeadAnchor[Get]
Vector3 SpawnOffset[Get]

Protected Fields

bool _started[Get]

Protected Functions

virtual void Start ( )
virtual void OnEnable ( )
virtual void OnDisable ( )

Member Functions

Deactivates the panel if it is active and vice versa
Deactivates the panel
Activates the panel and places it in front of the user's head
void InjectAllAUIToggler
( GameObject panel )
void InjectPanel
( GameObject panel )
void InjectOptionalCloseButton
( Button closeButton )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon