Phaser API Documentation

  Version: 
wake([key], [data])

Description:

Makes the Scene wake-up (starts update and render)

This will happen at the next Scene Manager update, not immediately.

Parameters:

name type arguments description
key string <optional>

The Scene to wake up.

data object <optional>

An optional data object that will be passed to the Scene and emitted in its wake event.

Returns:
Description:

This ScenePlugin object.

Since: 3.0.0
Source: src/scene/ScenePlugin.js (Line 566)