public float duration ;

Descripción

Duración de la transición.

Depending on AnimatorTransitionInfo.durationUnit the duration can either be expressed in seconds (i.e. DurationUnit.Fixed) or in percentage (i.e. DurationUnit.Normalized). A normalized duration is based on the source state duration.

Note: a normalized duration converted in seconds can change from frame to frame, since the source state duration can change depending on varying factors, like the weights in a blendtree.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961