GuiInterface.setTextAcceptedCallback
Sets a callback to be called when the text change is accepted
Kind: Function
Environments: Game
Game
guiInterface:setTextAcceptedCallback( editBoxName, callback )
Availability: Client only
Parameters:
| Name | Type | Description |
|---|---|---|
gui |
GuiInterface | The Gui interface |
editBoxName |
string | The edit box name |
callback |
string | Function to be called when text is committed |