Phaser API Documentation

  Version: 
<private> createSceneFromObject(key, sceneConfig)

Description:

Creates and initializes a Scene from an Object definition.

Parameters:

name type description
key string

The key of the Scene.

sceneConfig string | Phaser.Types.Scenes.SettingsConfig | Phaser.Types.Scenes.CreateSceneFromObjectConfig

The Scene config.

Returns:
Description:

The created Scene.

Type:
Since: 3.0.0