Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

AnimationUtility.GetAnimationEvents

static function GetAnimationEvents(clip: AnimationClip): AnimationEvent[];
static AnimationEvent[] GetAnimationEvents(AnimationClip clip);
static def GetAnimationEvents(clip as AnimationClip) as AnimationEvent[]

Description

Retrieves all animation events associated with the animation clip.