Sinespace Client
2023.2.17543
Client-side scripting for Sinespace
|
Public Member Functions | |
void | OnClick (Closure callback) |
Invoke when a user clicks the button and releases it. More... | |
Properties | |
bool | Enabled [get, set] |
Whether the button component is Enabled or not. More... | |
bool | Interactable [get, set] |
Enable Interactable. 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. More... | |
Properties inherited from ScriptClassComponent< Button > | |
SGameObject | GameObject [get] |
Return the GameObject which component added. More... | |
void SineSpace.Scripting.Components.SUIButton.OnClick | ( | Closure | callback | ) |
Invoke when a user clicks the button and releases it.
callback | the script function named "callback" |
|
getset |
This multiplies the tint color for each transition by its value.
|
getset |
The color of the control when it is disabled
|
getset |
Whether the button component is Enabled or not.
|
getset |
The color of the control when it is highlighted
|
getset |
Enable Interactable.
|
getset |
The normal color of the control
|
getset |
The color of the control when it is pressed