GameClose
From OxeyeWiki
(Difference between revisions)
Thewreck (Talk | contribs)
(Created page with '{{EngineHook| gameClose | This hook is called when the game is closed, either by Alt+f4 (Windows), Cmd+Q (Mac), or by the function daisy.exitGame | {{NoParams}} }} === Exampl...')
(Created page with '{{EngineHook| gameClose | This hook is called when the game is closed, either by Alt+f4 (Windows), Cmd+Q (Mac), or by the function daisy.exitGame | {{NoParams}} }} === Exampl...')
Latest revision as of 12:54, 19 January 2010
gameClose | ||
This hook is called when the game is closed, either by Alt+f4 (Windows), Cmd+Q (Mac), or by the function daisy.exitGame | ||
Parameter | Type | Description |
No parameters |
Daisymoon Video Lib |
---|
Example
local function myGameIsClosing() --do some cleanup end hook.add("gameClose", myGameIsClosing)