Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

AnimationEvent.animationState

public AnimationState animationState;

Description

The animation state that fired this event (Read Only).

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.