文档

Unity Engine

Unity Engine

duration

The duration of the transition.
阅读时间1 分钟最后更新于 1 个月前

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.