文档

Unity Engine

Unity Engine

animationClip

The animation clip selected in the Animation window.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public AnimationClip animationClip { get; set; }

Remarks

Change this value to select another animation clip. To select an animation clip, it must either exist in the active state machine of the Animator, or be listed in the Animation component.