文档

Unity Engine

Unity Engine

animationState

The animation state that fired this event (Read Only).
阅读时间1 分钟最后更新于 1 个月前

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 will only be set when called from an Animation component(legacy). Additional Resources:AnimationState.