Gets the isOn value of a UI Toggle component. Optionally send events
Game Object
The GameObject with the UI Toggle component.
Value
The isOn Value of the UI Toggle component.
Is On Event
Event sent when isOn Value is true.
Is Off Event
Event sent when isOn Value is false.
Every Frame
Repeats every frame