Starts the given Scene, if it is not starting, loading, or creating.
If the Scene is running, paused, or sleeping, it will be shutdown and then started.
name | type | arguments | description |
---|---|---|---|
key | string | Phaser.Scene |
The Scene to start. |
|
data | object | <optional> |
Optional data object to pass to |
This Scene Manager instance.