duration
The duration of the transition.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEditor.Animations
- Assembly: UnityEditor.CoreModule
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.