Using Animations in Timeline
Timeline is a great way to create cutscenes in Unity. With cutscenes, you will want animations. How do you add animations to timeline?
For this tutorial, I will start from the point of setting up the timeline. I have already created and positioned the game objects and the virtual camera.
To organize your hierarchy create an empty game object, zero out the position, and parent your game objects and virtual camera to it.
Now with your empty game object selected create a new timeline.
This will add an animator to your empty game object and animation track to the timeline. You will not be using the animator so you can delete it and select none for the animation track.
Now you will want to find the animation you want to play. For my example, it is connected to the actors game object.
This is the game object you want in your animation track.
Before adding the animation you will want to know what it is called. You can check this by double-clicking the controller on your animator.
This will bring up the animator window and you will be able to view the name of the animation.
Back to the timeline window on the animation track select the three dots by the record button and select add from animation track.
This will bring up a window that will allow you to search and select which animation you want to use.
Now your timeline should look something like this.
You will be able to click the play button and preview your animation