Legacy Documentation: Version 5.5
Legacy Animation System
Animation Scripting (Legacy)

Animation

Switch to Scripting

This is the Legacy Animation component, which was used on Game Objects for animation purposes prior to the introduction of Unity’s current animation system.

This component is retain in Unity for backwards-compatibility only. For new projects, please use the Animator component.

The Animation Inspector
The Animation Inspector

Properties

Property: Function:
Animation The default animation that will be played when Play Automatically is enabled.
Animations A list of animations that can be accessed from scripts.
Play Automatically Should the animation be played automatically when starting the game?
Animate Physics Should the animation interact with physics?
Culling Type Determines when the animation will not be played.
        Always Animate Always animate.
        Based on Renderers Cull based on the default animation pose.
        Based on Clip Bounds Cull based on clip bounds (calculated during import), if the clip bounds are out of view, the animation will not be played.
        Based on User Bounds Cull based on bounds defined by the user, if the user-defined bounds are out of view, the animation will not be played.

See the Animation View Guide for more information on how to create animations inside Unity. See the Animation Import page on how to import animated characters.

Legacy Animation System
Animation Scripting (Legacy)
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961