Phaser API Documentation

  Version: 
destroy()

Description:

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

Since: 3.10.0