Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


duration

The duration of the transition.
Read time 1 minuteLast updated 10 days 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.