Phaser API Documentation

  Version: 
destroy()

Description:

Removes any bound event handlers and removes local references.

Examples:
Since: 3.16.0