Toggle.cs in TinyGiantStudio.Text namespace
If anything except method names starts with a capital letter, it's a property.
IsOn
bool
onGraphic
GameObject
offGraphic
onEvent
UnityEvent
offEvent
Set (bool set)
Sets the isOn state of the toggle according to the bool passed.
ToggleState ()
Switches between on and off.
CallToggleEvent ()
Just calls the event depending on the current state of the Toggle(on/off).
VisualUpdate ()
Just updates the visual depending on the current state of the Toggle(on/off).
ActiveVisualUpdate ()
Changes the graphic to activated.
InactiveVisualUpdate ()
Changes the graphic to inactivate.
Method Toggle renamed to ToggleState
Toggle
ToggleState
Last updated 2 years ago