这是传统动画组件,在引入 Mecanim 动画系统之前,用于在游戏对象Unity 场景中的基本对象,可以表示角色、道具、场景、摄像机、路径点等。游戏对象的特性由附加在其上的组件定义。 更多信息
参见 术语表上进行动画制作。
Unity 中保留此组件是为了向后兼容。对于新项目,请使用动画器组件模型上的一个组件,使用动画系统为该模型设置动画。该组件引用一个动画控制器资源,该资源控制动画。 更多信息
参见 术语表。
属性 | 功能 | |
---|---|---|
动画 | 启用自动播放时要播放的默认动画。 | |
动画 | 您可以从脚本一段代码,允许您创建自己的组件、触发游戏事件、随时间推移修改组件属性并以任何您喜欢的方式响应用户输入。 更多信息 参见 术语表访问的动画列表。 |
|
自动播放 | 启用此选项可在游戏开始时自动播放动画。 | |
动画物理 | 启用此选项可使动画与物理交互。 | |
剔除类型 | 确定何时不播放动画。 | |
始终动画 | 始终播放动画。 | |
基于渲染器 | 基于默认动画姿势进行剔除。 |
有关如何在 Unity 中创建动画的更多信息,请参阅动画窗口指南。有关如何导入动画角色的信息,请参阅模型导入工作流程页面。
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.