SuiTextButton
Signals
down
- Signature: none
up
- Signature: none
pressed
- Signature: none
toggled
- Signature: bool toggled_on
Variables
bool disabled = false
Makes the button unable to be interacted with.
bool toggle_mode = false
Makes the button toggleable.
bool button_pressed = false
Forwarded from the internal Button
. Will be overridden with the internal button's value, any changes to this variable will not be reflected.
bool bbcode_support = true
Enables support for BBCode.
String text = "[center]SuiTextButton[/center]"
The text you want to display.
int font_size = 25
The size your text should have.
bool editor_process = true
Determines if the element should be updated automatically while running in the editor.
bool runtime_process = true
Determines if the element should be updated automatically during your game/application's runtime.
Functions
void update_element()
Updates the element.
void update_pressed(bool is_pressed)
Updates the internal button's value for pressed
. Use this method to update pressed
.