SpriteAnimator.Stop(bool) Method
Definition¶
Namespace: Brine2D.Animation
Stops and clears the current animation and the entire animation queue.
CurrentFrame returns null after this call.
public void Stop(bool fireCallbacks=false);
Parameters¶
fireCallbacks System.Boolean
When true, fires OnExit and
OnExit before clearing state.
OnStopped always fires regardless of this parameter.