GuiInterface.setOnCloseCallback

Sets a callback to be called when the gui is closed

Kind: Function

Environments: Game

Game

guiInterface:setOnCloseCallback( callback )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
gui GuiInterface The Gui interface
callback string Function to be called when gui is closed