Toggle

More information can be found in the Unity API Reference and maybe in the Unity Manual.

Members

Member

Description

animator

gameObject

image

interactable

isOn

transform

Events

Event

Description

onValueChanged

Static members

Member

Description

allSelectableCount

Details

class Toggle
const Animator animator
const GameObject gameObject
Image image
bool interactable
bool isOn
const Transform transform
const ScriptEvent onValueChanged

Callback Signature:

void callback()
void GraphicUpdateComplete()
bool IsActive()
bool IsDestroyed()
bool IsInteractable()
void LayoutComplete()
void Select()
void SetIsOnWithoutNotify(bool value)
string ToString()
static const int allSelectableCount