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.SetAnimationClips

static function SetAnimationClips(animation: Animation, clips: AnimationClip[]): void;
static void SetAnimationClips(Animation animation, AnimationClip[] clips);
static def SetAnimationClips(animation as Animation, clips as AnimationClip[]) as void

Description

Sets the array of AnimationClips to be referenced in the Animation component.