Sleeps one one Scene and starts the other.
name | type | arguments | description |
---|---|---|---|
from | string | Phaser.Scene |
The Scene to sleep. |
|
to | string | Phaser.Scene |
The Scene to start. |
|
data | object | <optional> |
Optional data object to pass to |
This Scene Manager instance.