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

Toggle Class

This is a MonoBehaviour for the toggle UI element which the icon image can be customized (not a switch).
It's can be used for certain toggle buttons for Immersive Debugger UIs. For more info about Immersive Debugger, check out the official doc

Properties

State of the toggle, the style will be set respectively for on and off states.
The event that would be invoked when the state is changed by setting the State property.

Protected Functions

virtual override void UpdateBackground ( )
virtual override void UpdateIcon ( )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon