The AnimatorTransition class represents a transition between two AnimatorStates.

AnimatorTransition 类表示两个 AnimatorState 之间的过渡。

构造函数

访问器

方法

  • 参数

    • normalizeTime: number

      The normalized time of the current animation state.

    • paramsMap: { [key: number]: number | boolean }

      A map of condition parameters, where the key is the condition ID and the value is the condition state.

    返回 boolean

    True if the transition should be enabled, false otherwise.

    Checks if the transition should be enabled based on the current conditions and time.

    检查是否应该根据当前条件和时间启用过渡。