How to know an animation has finished?
I'm trying to write a playback function where on clicking the play button, it will call the following function:
TimingTrigger.addTrigger(animator1, animator2, TimingTriggerEvent.STOP);
As I need to change the button from "pause" to "play" after animation2 has ended, is there any way to know that animation2 has ended so that the application can call another method to switch the button image?
Thanks in advance.