The Add Animation Event.
This event is dispatched when a new animation is added to the global Animation Manager.
This can happen either as a result of an animation instance being added to the Animation Manager, or the Animation Manager creating a new animation directly.
name | type | description |
---|---|---|
key | string |
The key of the Animation that was added to the global Animation Manager. |
animation | Phaser.Animations.Animation |
An instance of the newly created Animation. |