durationUnit
The unit of the transition duration.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.AnimationModule
public DurationUnit durationUnit { get; }
Remarks
Can be either DurationUnit.Fixed (in seconds) or DurationUnit.Normalized (in percentage).
Additional Resources: AnimatorTransitionInfo.duration.