Adds a new Scene into the SceneManager. You must give each Scene a unique key by which you'll identify it.
sceneConfig can be:
Phaser.Sceneobject, or an object that extends it.
If a function is given then a new Scene will be created by calling it.
A unique key used to reference the Scene, i.e.
|sceneConfig||function | Phaser.Scene | Phaser.Types.Scenes.SettingsConfig | Phaser.Types.Scenes.CreateSceneFromObjectConfig||
The config for the Scene
Optional data object. This will be set as
The added Scene, if it was added immediately, otherwise