Sinespace Client 2025.3.19431
Client-side scripting for Sinespace
|
Public Member Functions | |
void | SetIsOnWithoutNotify (bool value) |
Change the IsOn property of this toggle, but do NOT call OnValueChanged. | |
void | OnValueChanged (Closure callback) |
Callback executed when the value of the toggle is changed. | |
![]() | |
override void | Initialise (SScript runtime, object wrapper) |
![]() | |
void | ReportError (string error, bool fatal, UnityEngine.Object target=null) |
void | Initialise (SScript runtime, object wrapper) |
Properties | |
bool | Enabled [get, set] |
Enabled Behaviors are Updated; disabled Behaviors are not. | |
bool | Interactable [get, set] |
Use to enable or disable the ability to select a selectable UI element. | |
bool | IsOn [get, set] |
Return or set whether the Toggle is on or not. | |
SColor | NormalColor [get, set] |
The normal color of the control. | |
SColor | HighlightedColor [get, set] |
The color of the control when it is highlighted. | |
SColor | PressedColor [get, set] |
The color of the control when it is pressed. | |
SColor | DisabledColor [get, set] |
The color of the control when it is disabled. | |
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). | |
![]() | |
SGameObject | GameObject [get] |
Return the GameObject which component added. | |
![]() | |
override bool | Alive [get] |
Return if the component is alive. | |
![]() | |
T | _wrap [get] |
![]() | |
virtual bool | Alive [get] |
DynValue | CachedData [get, set] |
Additional Inherited Members | |
![]() | |
void | Initialise (SScript runtime) |
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.