Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


isFiredByAnimator

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

Definition

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

Remarks

Use this property to determine if the event was fired by an Animator component. When true, the _animatorStateInfo and _animatorClipInfo properties are set. Otherwise, these properties will contain default values.