Skip to content

SpriteAnimator.PlayReversed(string, bool) Method

Definition

Namespace: Brine2D.Animation

Plays the named animation in reverse. Equivalent to setting Reversed to true then calling Play(string, bool). After the clip ends, Reversed remains true — set it back to false explicitly if subsequent clips should play forward.

public void PlayReversed(string animationName, bool restart=false);

Parameters

animationName System.String

restart System.Boolean