Toggle

More information can be found in the Unity API Reference

Members

Member

Description

animator

gameObject

image

interactable

isOn

transform

Events

Event

Description

onPointerClick

onPointerDown

onPointerEnter

onPointerExit

onPointerUp

onValueChanged

Methods

Method

Description

GraphicUpdateComplete()

IsActive()

IsDestroyed()

IsInteractable()

LayoutComplete()

Select()

SetIsOnWithoutNotify(value)

ToString()

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 onPointerClick

Callback Signature:

void callback()
const ScriptEvent onPointerDown

Callback Signature:

void callback()
const ScriptEvent onPointerEnter

Callback Signature:

void callback()
const ScriptEvent onPointerExit

Callback Signature:

void callback()
const ScriptEvent onPointerUp

Callback Signature:

void callback()
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