Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Legacy Animation component

Reference for the Legacy Animation component.
Read time 1 minuteLast updated 23 days ago

This is the Legacy Animation component, which was used on GameObjects for animation purposes prior to the introduction of the Mecanim Animation system. This component is retained in Unity for backwards compatibility. For new projects, use the Animator component.

The Animation Inspector

Properties

Property

Function

AnimationThe default animation to play when Play Automatically is enabled.
AnimationsA list of animations that you can access from scripts.
Play AutomaticallyEnable this option to play animation automatically when the game starts.
Animate PhysicsEnable this option to have the animation interact with Physics.
Culling TypeDetermine when not to play the animation.
  • Always Animate: Always animate.
  • Based on Renderers: Cull based on the default animation pose.
Consult the Animation Window Guide for more information on how to create animations inside Unity. Consult Model import workflows page on how to import animated characters.