Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

Obsolete
GetAnimationClips(Animation) is deprecated. Use GetAnimationClips(GameObject) instead.

AnimationUtility.GetAnimationClips

Switch to Manual
public static function GetAnimationClips(component: Animation): AnimationClip[];

Parameters

Description

Returns the array of AnimationClips that are referenced in the Animation component.