Animation Clips are asset files that end in file extension .anim and can be created in a number of ways:
Right-Click in your Project window and Create an Animation Clip from the Context Menu.


The Animation window can be opened via any of the following methods:
Ctrl + 6Double-Click any existing Animation Clip

There are two distinct methods you can use to animate GameObjects in the Animation window: Record Mode and Preview Mode.

In Record mode, Unity automatically creates keyframes at the playback head when modifying any animatable property. Press the button with the red circle to enable record mode.
The Animation window time line is tinted red when in record mode.

In Preview mode, modifying your animated GameObject does not automatically create keyframes. Press the Preview button to enable preview mode.
The Animation window time line is tinted blue when in preview mode.
Note: In record mode, the Preview button is also active, because you are previewing the existing animation and recording new keyframes at the same time.

You can lock the Animation window so that it does not switch while you’re still able to select and manipulate other GameObjects in the Scene.