Runs the given Scene.
If the given Scene is paused, it will resume it. If sleeping, it will wake it. If not running at all, it will be started.
Use this if you wish to open a modal Scene by calling pause
on the current
Scene, then run
on the modal Scene.
name | type | arguments | description |
---|---|---|---|
key | string |
The Scene to run. |
|
data | object | <optional> |
A data object that will be passed to the Scene on start, wake, or resume. |
This Scene Manager.