Skip to content

SpriteAnimator.PlayFromNormalizedTime(string, float, bool) Method

Definition

Namespace: Brine2D.Animation

Plays an animation by name, beginning at a normalised time [0, 1].

public void PlayFromNormalizedTime(string animationName, float normalizedTime, bool restart=false);

Parameters

animationName System.String

normalizedTime System.Single

restart System.Boolean