Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


animationState

The animation state that fired this event (Read Only).
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public AnimationState animationState { get; }

Remarks

Returns null when the method is called outside of an animation event callback. Note: This member is only set when the event is fired from an Animation component (legacy). Additional Resources: AnimationState, AnimationEventInfo.isFiredByLegacy.