Phaser API Documentation

  Version: 
destroy()

Description:

Destroys this Animation instance. It will remove all event listeners, remove this animation and its key from the global Animation Manager, and then destroy all Animation Frames in turn.

Since: 3.0.0