This event is dispatched by a Scene during the Scene Systems shutdown process.
Listen to it from a Scene using this.events.on('shutdown', listener).
You should free-up any resources that may be in use by your Scene in this event handler, on the understanding
that the Scene may, at any time, become active again. A shutdown Scene is not 'destroyed', it's simply not
currently active. Use the [DESTROY]Phaser.Scenes.Events#event:DESTROY event to completely clear resources.
The Scene Systems Shutdown Event.
This event is dispatched by a Scene during the Scene Systems shutdown process.
Listen to it from a Scene using
this.events.on('shutdown', listener).You should free-up any resources that may be in use by your Scene in this event handler, on the understanding that the Scene may, at any time, become active again. A shutdown Scene is not 'destroyed', it's simply not currently active. Use the [DESTROY]Phaser.Scenes.Events#event:DESTROY event to completely clear resources.