GuiInterface.setButtonCallback
Sets a button callback to be called when the button is pressed
Kind: Function
Environments: Game
Game
guiInterface:setButtonCallback( buttonName, callback )
Availability: Client only
Parameters:
| Name | Type | Description |
|---|---|---|
gui |
GuiInterface | The Gui interface |
buttonName |
string | The button name |
callback |
string | Function to be called when button is pressed |