The Scene Systems Destroy Event.
This event is dispatched by a Scene during the Scene Systems destroy process.
Listen to it from a Scene using this.events.on('destroy', listener)
.
You should destroy any resources that may be in use by your Scene in this event handler.
name | type | description |
---|---|---|
sys | Phaser.Scenes.Systems |
A reference to the Scene Systems class of the Scene that emitted this event. |