文档

Unity Engine

Unity Engine

isFiredByAnimator

Returns true if this animation event was fired by an Animator component (Read Only).
阅读时间1 分钟最后更新于 25 天前

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 AnimationEventInfo.animatorStateInfo and AnimationEventInfo.animatorClipInfo properties are set. Otherwise, these properties will contain default values.