Phaser API Documentation

  Version: 
<private> createSceneFromInstance(key, newScene)

Description:

Creates and initializes a Scene instance.

Parameters:

name type description
key string

The key of the Scene.

newScene Phaser.Scene

The Scene instance.

Returns:
Description:

The created Scene.

Type:
Since: 3.0.0