Sinespace Client 2025.3.19431
Client-side scripting for Sinespace
|
Public Member Functions | |
void | SetValueWithoutNotify (float value) |
Set the current value of the scrollbar, but do NOT call OnValueChanged. | |
void | OnValueChanged (Closure callback) |
Handling for when the scrollbar value 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 | |
float | Size [get, set] |
The size of the scrollbar handle where 1 means it fills the entire scrollbar. | |
float | Value [get, set] |
The current value of the scrollbar, between 0 and 1. | |
int | NumberOfSteps [get, set] |
The number of steps to use for the value. A value of 0 disables use of steps. | |
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 then 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.SUIScrollbar.OnValueChanged | ( | Closure | callback | ) |
Handling for when the scrollbar value is changed.
callback | the script function named "callback" |
void SineSpace.Scripting.Components.SUIScrollbar.SetValueWithoutNotify | ( | float | value | ) |
Set the current value of the scrollbar, 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 then full alpha).
|
getset |
The color of the control when it is disabled.
|
getset |
The color of the control when it is highlighted.
|
getset |
The normal color of the control.
|
getset |
The number of steps to use for the value. A value of 0 disables use of steps.
|
getset |
The color of the control when it is pressed.
|
getset |
The size of the scrollbar handle where 1 means it fills the entire scrollbar.
|
getset |
The current value of the scrollbar, between 0 and 1.