Legacy Documentation: Version 5.2
Editing Curves
Using Animation Events

Objects with Multiple Moving Parts

You may want to animate Game Objects that have multiple moving parts, such as a gun turret with a moving barrel, or a character with many body parts. All the parts can be animated by a single Animation component on the parent, although it is useful to have additional Animation components on the children in some cases.

Animating Child Game Objects

The Game Object hierarchy is shown in the panel to the left of the Animation View.

You can access the children of a Game Object by using the foldout triangle next to the object’s name. The properties of child objects can be animated just like those of the parent.

Child <span class="doc-keyword">Game Objects</span> appear in the list of animatable properties when pressing the Add Curve button. They can be expanded to view the animatable properties on those child Game Objects<span class="doc-keyword">Animation View</span>.
Child Game Objects appear in the list of animatable properties when pressing the Add Curve button. They can be expanded to view the animatable properties on those child Game ObjectsAnimation View.

Alternatively you can select just the child Game Object you want to animate from the Hierarchy panel or the scene view, and maniuplate the object or change its properties in the inspector, while in animation recording mode.

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