Phaser API Documentation

  Version: 
destroy()

Description:

Destroys this Gamepad instance, its buttons and axes, and releases external references it holds.

Examples:
Since: 3.10.0