animatorStateInfo
The animator state info related to this event (Read Only).
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.AnimationModule
public AnimatorStateInfo animatorStateInfo { get; }
Remarks
This property contains information about the animator state that triggered the event, including normalized time, length, and state hashes. Note: The data in this member is only set when the event is fired from an Animator Component. When fired by an Animation component it contains default values. Additional Resources: AnimatorStateInfo, AnimationEventInfo.isFiredByAnimator.