Phaser API Documentation

  Version: 
destroy()

Description:

Shuts down the simulation and disconnects it from the current scene.

Examples:
Since: 3.0.0