This version of Unity is unsupported.

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). See Also:AnimationState.