Phaser API Documentation

  Version: 
Event: WAKE
Phaser.Scenes.Events.WAKE
WAKE

Description:

The Scene Systems Wake Event.

This event is dispatched by a Scene when it is woken from sleep, either directly via the wake method, or as an action from another Scene.

Listen to it from a Scene using this.events.on('wake', listener).

Parameters:

name type arguments description
sys Phaser.Scenes.Systems

A reference to the Scene Systems class of the Scene that emitted this event.

data any <optional>

An optional data object that was passed to this Scene when it was woken up.

Since: 3.0.0