文档

Unity Engine

Unity Engine

IAnimationClipSource

Use this interface to have a class provide its own list of Animation Clips to the Animation Window. The class must inherit from MonoBehaviour.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Interface
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public interface IAnimationClipSource

Remarks

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

Methods

Method

Description

GetAnimationClipsReturns a list of Animation Clips.