Animation component reference
Reference for the properties of the Animation component in Unity Lite.
Read time 1 minuteLast updated 2 days ago
The Animation component has several properties that you can configure to control how your animations behave. These options are available in the Inspector panel when you select a GameObject that has an Animation component. If your GameObject doesn't have an Animation component, refer to Animate a GameObject with the Animation component for steps on how to add one.
Animation component properties
The following properties are available in the Animation component:Property | Description |
---|---|
Autoplay | By default, set to None. Use Autoplay to set your animation to play automatically when your application launches. You can set multiple animations on each GameObject to autoplay. |
Name | Each animation is called
|
Edit | The pencil icon. Select to open the Animation Tool window for the selected animation. |
Delete | The trash can icon. Select to remove the selected animation from the GameObject. |
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. |
+ | Select to add a new animation to the GameObject. You can have multiple animations on each GameObject. |
Easing type options
Use the Easing dropdown to choose how your animation accelerates and decelerates.Easing type | Description |
---|---|
Linear | Moves at a constant speed from start to finish. |
Ease In | Starts slow and speeds up. |
Ease Out | Starts fast and slows down. |
Ease In Out | Starts slow, speeds up in the middle, and slows down at the end. |
Playback options
Use the Playback options dropdown to choose how your animation plays.Playback option | Description |
---|---|
Once | Plays one time and stops. |
Loop | Repeats the animation continuously. |
Ping Pong | Plays forward, then backward, repeating this back-and-forth motion. |