Version: 2023.2
public AnimationClip animationClip ;

描述

The animation clip selected in the Animation window.

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.