Documentation

Support

Unity Lite

Open Unity Lite

Unity Lite

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

AutoplayBy 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
Animation
by default. Use Name to give each animation a unique name. This is useful to find and reference animations when using multiple animations in your project or want to use Logic scripts to trigger them.
EditThe pencil icon. Select to open the Animation Tool window for the selected animation.
DeleteThe trash can icon. Select to remove the selected animation from the GameObject.
EasingChanges the speed of your animation to make the movement feel more natural.
Playback optionsControl 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

LinearMoves at a constant speed from start to finish.
Ease InStarts slow and speeds up.
Ease OutStarts fast and slows down.
Ease In OutStarts 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

OncePlays one time and stops.
LoopRepeats the animation continuously.
Ping PongPlays forward, then backward, repeating this back-and-forth motion.