文档

Unity Engine

Unity Engine

isFiredByLegacy

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

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.