AnimationStateMachine.StateTimer Property
Definition¶
Namespace: Brine2D.Animation
Gets the elapsed time in seconds the current state has been active.
Only advances while IsPlaying is true, so pausing the
animator also freezes this timer. Resets whenever a new animation starts (including via
direct Play(string, bool) calls).
public float StateTimer { get; }