Animation clips
Add an animation clip to change your object's properties or movements over time.
Read time 2 minutesLast updated a day ago
Animation clips and keyframes
An animation clip is a reusable asset that records changes for an object over time, including:- Position, rotation, and scale.
- Component properties like material color, light intensity, and visibility.
Add an animation clip to an object
When you add an Animation component to an object and select Add (+), the component automatically creates a new animation clip for that object. You can also assign different animation clips to the object instead. There are multiple ways to assign other clips in the Animation component:- Drag an animation clip from the Project panel into the Animation field.
- Select the circle icon next to the Animation field and choose your preferred clip.
Access your animation clips
When you create an animation clip, Unity Studio saves the clip in theMy AssetsMy AssetsEdit your animation clips
You can access your animation clip's settings in 2 ways:- Select the animation clip in your folder.
My Assets - If your clip is already in the scene, select the Animation component that contains your animation clip.
Property | Description |
|---|---|
| Easing | Changes the speed of your animation to make the movement feel more natural.
|
| Playback options | Control what happens when your animation reaches the end.
|
Reuse your animation clips
You can assign the same animation clip to multiple GameObjects. Any keyframes the clip has applies to every target - for example, if the keyframes change material color, it affects the material color of all the objects with the clip assigned. If any object doesn't have a material, the clip ignores those keyframes. It's recommended to use them on objects with similar hierarchies. For example, you can create a door opening animation to cover all door objects.Rename your animation clips
When you create an animation clip, Unity Studio gives the clip a default name. Rename your files to make them easier to identify and make it easier to reference your clips. You can rename your clips in 2 ways from theMy Assets- Right-click the clip and select Rename.
- Select the name of the clip and edit the name.