Puts the given Scene to sleep.
name | type | arguments | description |
---|---|---|---|
key | string |
The Scene to put to sleep. |
|
data | object | <optional> |
An optional data object that will be passed to the Scene and emitted by its sleep event. |
This SceneManager.