Legacy Documentation: Version 5.4
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

public static AnimationClip[] GetAnimationClips(Animation component);

Parameters

Description

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