Shutdown the Scene, clearing display list, timers, etc.
This happens at the next Scene Manager update, not immediately.
name | type | arguments | description |
---|---|---|---|
key | string | Phaser.Scene | <optional> |
The Scene to stop. |
data | any | <optional> |
Optional data object to pass to Scene.Systems.shutdown. |
This Scene Plugin instance.