Skip to content

SpriteAnimator.GetCurrentAnimationDuration() Method

Definition

Namespace: Brine2D.Animation

Returns the total duration of the currently set animation clip in seconds, or 0 if no animation is active.

C#
public float GetCurrentAnimationDuration();

Returns

System.Single