Closed Noah2610 closed 4 years ago
Use Once
animations and OnAnimationEnd
events in Peeker
enemy, when this is implemented.
Working. Note that OnAnimationEnd
events are only triggered if the animation is Once
, because Cycle
animations never end.
So whenever you wanna do something after an animation ends, make that animation Once
, push it (don't play it), and use the OnAnimationEnd
event.
Event that triggers when the given animation ends.