Hey. I would like to know how to get Complete event in the Spine WebPlayer.
I saw some events from Unity.
But their alternatives is not working in the WebPlayer.
What i have tried:
spinePlayer.animationState.complete
spinePlayer.animationState.trackEntry.complete
Where & how i can get it's callback?
Here's the code that i found on your webplayer source, but i don't understand how to correctly get that event.
Simple example of what i want to see:
any Animation is finished -> log to browser console: "animation animation_name is finished"