Creates and initializes a Scene from an Object definition.
name | type | description |
---|---|---|
key | string |
The key of the Scene. |
sceneConfig | string | Phaser.Types.Scenes.SettingsConfig | Phaser.Types.Scenes.CreateSceneFromObjectConfig |
The Scene config. |
The created Scene.