Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


animatorStateInfo

The animator state info related to this event (Read Only).
Read time 1 minuteLast updated 4 days ago

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, _isFiredByAnimator