YaUIButton¶
YaUIButton
adjusts the button in the UI.Properties¶
string Title¶
CLIENT ONLY
Sets the text on the button.
Functions¶
void SetButtonMode(number mode)¶
CLIENT ONLY
Set the button mode
mode
0 is common, 1 is check, 2 is radio
void SetColor(string color)¶
CLIENT ONLY
Sets the text color on the button.
void FireClick(boolean downEffect, [boolean clickCall])¶
CLIENT ONLY
Controls whether to simulate how the button is pressed.
void SetKeyCode(string keycode)¶
CLIENT ONLY
Determines whether to bind the button with keyboard key input.
YaUIGraph GetGraph(string name)¶
CLIENT ONLY
Gets the graph with the 3D effects or meshes.
YaUIImage GetImage(string name)¶
CLIENT ONLY
Gets the image on the button.
YaUIText GetTextField(string name)¶
CLIENT ONLY
Gets the text on the button.
YaUILoader GetLoader(string name)¶
CLIENT ONLY
Gets the loader on the button.
void DoDispose()¶
CLIENT ONLY
Disposes of the button.