Sinespace Client
2023.2.17543
Client-side scripting for Sinespace
|
Public Member Functions | |
void | SetIsOnWithoutNotify (bool value) |
Change the IsOn property of this toggle, but do NOT call OnValueChanged. More... | |
void | OnValueChanged (Closure callback) |
Callback executed when the value of the toggle is changed. More... | |
Properties | |
bool | Enabled [get, set] |
Enabled Behaviors are Updated; disabled Behaviors are not. More... | |
bool | Interactable [get, set] |
Use to enable or disable the ability to select a selectable UI element. More... | |
bool | IsOn [get, set] |
Return or set whether the Toggle is on or not. More... | |
SColor | NormalColor [get, set] |
The normal color of the control More... | |
SColor | HighlightedColor [get, set] |
The color of the control when it is highlighted More... | |
SColor | PressedColor [get, set] |
The color of the control when it is pressed More... | |
SColor | DisabledColor [get, set] |
The color of the control when it is disabled More... | |
float | ColorMultiplier [get, set] |
This multiplies the tint color for each transition by its value. With this you can create colors greater than 1 to brighten the colors on graphic elements whose base color is less than white (or less than full alpha). More... | |
Properties inherited from ScriptClassComponent< Toggle > | |
SGameObject | GameObject [get] |
Return the GameObject which component added. More... | |
void SineSpace.Scripting.Components.SUIToggle.OnValueChanged | ( | Closure | callback | ) |
Callback executed when the value of the toggle is changed.
void SineSpace.Scripting.Components.SUIToggle.SetIsOnWithoutNotify | ( | bool | value | ) |
Change the IsOn property of this toggle, but do NOT call OnValueChanged.
|
getset |
This multiplies the tint color for each transition by its value. With this you can create colors greater than 1 to brighten the colors on graphic elements whose base color is less than white (or less than full alpha).
|
getset |
The color of the control when it is disabled
|
getset |
Enabled Behaviors are Updated; disabled Behaviors are not.
|
getset |
The color of the control when it is highlighted
|
getset |
Use to enable or disable the ability to select a selectable UI element.
|
getset |
Return or set whether the Toggle is on or not.
|
getset |
The normal color of the control
|
getset |
The color of the control when it is pressed