Documentation

Unity Engine


Unity Engine


duration

The duration of the transition.
Read time 1 minuteLast updated a month ago

Definition

public float duration { get; set; }

Remarks

The duration is in seconds by default. To set it to be the normalized time of the source state, set AnimatorStateTransition.hasFixedDuration to false.