Working with the Unity timeline

Animating a Depthkit Clip

  1. You will need to start with the Timeline widget via Window -> Timeline Editor drop down menu.

  2. Once in the timeline widget, select the clip you want to create a timeline for and click the Create button in the center of the Timeline widget, this creates the Timeline Director components on the clip ready for playback.

  1. You can then create an Animation track by right clicking on the right hand side panel on the Timeline widget and select Animation track, if there is no animator automatically selected, click the selection button and select your clip. You can also simply drag your clip from the hierarchy into the Timeline or even select the Add drop down menu on the top left of the Timeline window.
  1. Now you are ready to animate and set keyframes. To do so, simply click the record button, move the playhead to the desired time, and begin tweaking values in your Hologram layers.

  2. You can then right click your animation track to edit the keyframes you just placed in Animation Window. Here you can edit and add keyframes in either a curves layout or a dopesheet. You can also zoom in and out and scroll along the timeline to change the view.



There is a limitation in Unity’s Timeline that only allows one layer of the same type to be animated per game object. To get around this restriction, add a nested GameObject to the GameObject containing your Depthkit Clip component for each layer. Add one HologramLayer Component per GameObject child. The properties will be keyframed when changing them during recording on your animation timeline.