interface
IAnimationWithEvents
A common interface to implement for all animation structs which wish to receive a range of animation events beyond the baseline Update(float percentDone) event.
Methods
| Begin | Called before the first call to Update(Single) for each iteration. |
| Complete | Called after End() of the final iteration, which may be triggered automatically or explicitly via Complete(AnimationHandle). |
| End | Called after the last call to Update(Single) for each iteration. |
| OnCanceled | Called when the AnimationHandle tied to this animation is canceled via Cancel(AnimationHandle). |
| OnPaused | Called when the AnimationHandle tied to this animation is paused via Pause(AnimationHandle). |
| OnResumed | Called when the AnimationHandle tied to this animation is resumed via Resume(AnimationHandle). |
| Update | Called once per frame while the animation is running and provides a |
Extension Methods
| Loop | Queue an animation to loop |
| Run | Queue an animation to run for |