Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

IAnimationClipSource

interface in UnityEngine

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. See Also: AnimationUtility.GetAnimationClips.

Public Methods

GetAnimationClipsReturns a list of Animation Clips.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答