Skip to content

YaUITextInput

YaUITextInput manages text input in the game.

Properties

boolean Editable

CLIENT ONLY 
Determines if the input box is editable. Defaults to true.

number SortingOrder

CLIENT ONLY 
Determines the sorting order of the input box.

number MxLength

CLIENT ONLY 
The maximum length of the text

boolean DisplayAsPassword

CLIENT ONLY 
Determines whether to reveal the password. Defaults to true.

EventListener OnSubmit

CLIENT ONLY 
Fired when the content of the input box is submitted.

EventListener OnChanged

CLIENT ONLY 
Fired when the content of the input box is changed.

Functions

void ApplyFormat()

CLIENT ONLY 
Applies the font to the text.

void DoDispose()

CLIENT ONLY 
Disposes of this UI.