This is a beta release of our new docs system. Found an issue? Please tell us about it in the #📖-newdocs-feedback channel
on the Phaser Discord
The Game Destroy Event.
This event is dispatched when the game instance has been told to destroy itself.
Lots of internal systems listen to this event in order to clear themselves out.
Custom plugins and game code should also do the same.