Legacy Documentation: Version 2017.2 (Go to current version)
Legacy Animation System
Animation Scripting (Legacy)
Other Versions

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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答