Slider

More information can be found in the Unity API Reference

Members

Member

Description

animator

fillRect

gameObject

handleRect

image

interactable

maxValue

minValue

normalizedValue

transform

value

wholeNumbers

Events

Event

Description

onPointerClick

onPointerDown

onPointerEnter

onPointerExit

onPointerUp

onValueChanged

Arguments: float value

Methods

Method

Description

GraphicUpdateComplete()

IsActive()

IsDestroyed()

IsInteractable()

LayoutComplete()

Select()

SetValueWithoutNotify(input)

ToString()

Static members

Member

Description

allSelectableCount

Details

class Slider
const Animator animator
RectTransform fillRect
const GameObject gameObject
RectTransform handleRect
Image image
bool interactable
float maxValue
float minValue
float normalizedValue
const Transform transform
float value
bool wholeNumbers
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()

Arguments: float value

void GraphicUpdateComplete()
bool IsActive()
bool IsDestroyed()
bool IsInteractable()
void LayoutComplete()
void Select()
void SetValueWithoutNotify(float input)
string ToString()
static const int allSelectableCount