Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

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.