So far, we used the Timeline to drive our entire VR story experience from start to finish. But in fact, Timelines are a playable asset like others in Unity. For example, if you select the BlackbirdDirector object and look in Inspector at its Playable Director, you'll see it has a Play On Awake checkbox, and it's presently checked. What we're going to do now is not play on awake, but rather start playing on a user event, namely looking directly at the small tree for a few seconds. And when the story ends, it resets itself.
Making the story interactive
Look to play
First, we'll add a LookAtTarget encasing the small tree and then use that to trigger playing the timeline:
- Select the BlackbirdDirector and uncheck...