Const
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).
this.events.on('destroy', listener)
You should destroy any resources that may be in use by your Scene in this event handler.
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.