Version: 2021.3
LanguageEnglish
  • C#

IAnimationClipSource

interface in UnityEngine

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Use this interface to have a class provide its own list of Animation Clips to the Animation Window. The class must inherit from MonoBehaviour.

This interface requires an Animator or Animation component to preview Animation Clips in the Scene. Additional resources: AnimationUtility.GetAnimationClips.

Public Methods

GetAnimationClipsReturns a list of Animation Clips.