SpriteAnimator.SeekToTime(float, bool) Method
Definition¶
Namespace: Brine2D.Animation
Seeks the animation to a specific time in seconds.
public void SeekToTime(float time, bool fireEvents=false);
Parameters¶
time System.Single
Target playback time in seconds.
fireEvents System.Boolean
When true, fires any ClipEvent markers whose time falls in the window
between the previous clip time and the new clip time.