Const
The Scene Systems Sleep Event.
This event is dispatched by a Scene when it is sent to sleep, either directly via the sleep method, or as an action from another Scene.
sleep
Listen to it from a Scene using this.events.on('sleep', listener).
this.events.on('sleep', listener)
The Scene Systems Sleep Event.
This event is dispatched by a Scene when it is sent to sleep, either directly via the
sleepmethod, or as an action from another Scene.Listen to it from a Scene using
this.events.on('sleep', listener).