Phaser API Documentation

  Version: 
Event: DESTROY
Phaser.Core.Events.DESTROY
DESTROY

Description:

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.

Since: 3.0.0