Phaser API Documentation



Shutdown this Scene and send a shutdown event to all of its systems. A Scene that has been shutdown will not run its update loop or render, but it does not destroy any of its plugins or references. It is put into hibernation for later use. If you don't ever plan to use this Scene again, then it should be destroyed instead to free-up resources.


name type arguments description
data object <optional>

A data object that will be passed in the 'shutdown' event.

Since: 3.0.0
Source: src/scene/Systems.js (Line 718)