Animate multiple GameObjects with the Animation Director
Create complex animations for multiple GameObjects in your scene.
Read time 1 minuteLast updated 2 days ago
Use the Animation Director to animate multiple GameObjects from the hierarchy in a shared timeline. You can manage multiple timelines within the Animation Director component to create complex animations and cutscenes. To animate a single GameObject and its children, use the Animation component. The Animation Director is automatically added to your project when you create a draft. You can't delete or duplicate the Animation Director.
Animate multiple GameObjects
To animate multiple GameObjects with the Animation Director, use the following steps:- Select the Animation Director in the Hierarchy panel to open the Animation Director timeline.
- Move the timeline cursor to where you want to make a change.
- Select an asset in the hierarchy and apply your change in the scene to create a keyframe.
- Select different assets in the hierarchy to animate them on the same timeline. You can animate as many objects as you want within a single timeline.
- Move all keyframes for a specific asset to coordinate animations. Select and hold the blue rectangle that represents its animation track, then drag it along the timeline.
- Select the Play button on the top of the Animation Director's top bar to test your animation.
- Select the X button at the top right of the Scene view to close the timeline.
Delete an animation
When you create animations via the Animation Director, Unity Lite automatically creates individual animation components on each GameObject you animate. If you delete the animation from the Animation Director timeline, the animation remains on the GameObject. To completely remove the animation, you need to delete it from the GameObject itself:- Select the GameObject in the Hierarchy panel. The Inspector panel shows.
- Select the three dots button on the Animation component.
- Select Remove.