Phaser API Documentation

  Version: 
destroy()

Description:

Removes any bound event handlers and removes local references.

Since: 3.16.0