Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


isFiredByLegacy

Returns true if this animation event was fired by an Animation component (Read Only).
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public bool isFiredByLegacy { get; }

Remarks

Use this property to determine if the event was fired by a legacy Animation component. When true, the AnimationEventInfo.animationState property is set. Otherwise, AnimationEventInfo.animationState is null.