Hello, i've surfed google looking for a way to check if an animation have ended but can't find a clear answer.
I've followed runtime document example but it seems like checking any animation's end but not specific one.
For example, I want to know the frame which my attack animation ends to triggle another function. How can I do that?
How to check when specific animation ends?
- Edited
See the documentation page here:
spine-unity Runtime Documentation: Processing AnimationState Events
You can subscribe to both general AnimationState to receive callbacks for all animations, and to individual TrackEntry objects for callbacks only on a single specific animation.