Documentation

Unity Engine

Download Unity

Unity Engine

animationClip

The animation clip selected in the Animation window.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.AnimationWindowModule
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.