Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


animationClip

The animation clip selected in the Animation window.
Read time 1 minuteLast updated 4 days ago

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.