Shutdown this Scene and run the given one.
This will happen at the next Scene Manager update, not immediately.
name | type | arguments | description |
---|---|---|---|
key | string | Phaser.Scene | <optional> |
The Scene to start. |
data | object | <optional> |
The Scene data. If no value is given it will not overwrite any previous data that may exist. |
This Scene Plugin instance.