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