onAnimationComplete : Phaser.Signal
This signal is dispatched if the Game Object has the AnimationManager component,
and an Animation has been stopped (via animation.stop()
and the dispatchComplete
argument has been set.
You can also listen to Animation.onComplete
rather than via the Game Objects events.
It is sent two arguments:
{any} The Game Object that received the event.
{Phaser.Animation} The Phaser.Animation that was stopped.
- Source code: gameobjects/components/Events.js (Line 249)
Please login to continue.