Is there a option to ask what animation is now playing?
example:
if(animationplayingname == "attack" && skeletonAnimation.state.Time <= 0) {
dosomething();
}
Or is there a better way to do this?
Thanks! 🙂
Edit: I found it! skeletonAnimation.state.Animation.Name
Thanks for help Nate and for fast answers! 🙂