SUIToggle

Index

Functions Index

Function Name

void OnValueChanged (Closure callback)

Properties Index

Property Name

bool Enabled get set

bool Interactable get set

bool IsOn get set

SColor NormalColor get set

SColor HighlightedColor get set

SColor PressedColor get set

SColor DisabledColor get set

float ColorMultiplier get set

SGameObject GameObject get

Functions

OnValueChanged

void OnValueChanged (Closure callback)

Binds a function to be triggered when value of the UIToggle changes.

Parameter
Type
Description

Properties

Enabled

bool Enabled get set

Whether the UIToggle is Enabled

Interactable

bool Interactable get set

Whether the UIToggle is Interactable

IsOn

bool IsOn get set

Whether the UIToggle is toggled On

NormalColor

SColor NormalColor get set

The normal color.

HighlightedColor

SColor HighlightedColor get set

The color of the control when it is highlighted.

PressedColor

SColor PressedColor get set

The color of the control when it is pressed.

DisabledColor

SColor DisabledColor get set

The color of the control when it is disabled.

ColorMultiplier

float ColorMultiplier get set

This multiplies the tint color for each transition by its value.

GameObject

SGameObject GameObject get

Property Description

Last updated

Was this helpful?