_background
: Background |
Signature
Background _background |
_backgroundStyle
: ImageStyle |
Signature
ImageStyle _backgroundStyle |
_label
: Label |
Signature
Label _label |
Background
: Background
[Get] |
The background of the button.
Signature
Background Background |
BackgroundStyle
: ImageStyle
[Set] |
The style of the background, can specify the detailed properties such as sprite and pixel density multiplier.
Upon setting the style, a refresh of the style would be invoked to reflect in UI.
Signature
ImageStyle BackgroundStyle |
Label
: string
[Get][Set] |
String of the label text that is being displayed on top of the button UI.
Signature
string Label |
TextStyle
: TextStyle
[Set] |
The style (including alignment, color, font) of the text that is being displayed on top of the button UI.
Signature
TextStyle TextStyle |
OnHoverChanged
()
|
Signature
override void OnHoverChanged() Returns override void |
OnTransparencyChanged
()
|
Signature
override void OnTransparencyChanged() Returns override void |
RefreshStyle
()
|
Signature
void RefreshStyle() Returns void |
Setup
(
owner
)
| |
UpdateBackground
()
|
Signature
virtual void UpdateBackground() Returns void |