Phaser API Documentation

  Version: 
launch(key, [data])

Description:

Launch the given Scene and run it in parallel with this one.

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

Parameters:

name type arguments description
key string | Phaser.Scene

The Scene to launch.

data object <optional>

The Scene data.

Returns:
Description:

This Scene Plugin instance.

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