Hi,
The tutorial is practically ancient and probably not the best way to go at this.
There are great many unknowns in there.
A) how many rooms will there be? More rooms, more possible paths. A few paths could be animated, but if you have lots, it gets clunky quickly.
B) is the camera interactive (free looking around while it moves) or is it like a movie camera with predetermined angles? If the camera allows free looking around, then you need to look at a typical 1st person setup (as in shooters), but when it is on rails, you need to look into timeline and animation.
A few pointers:
1) cinemachine is a unity package with powerful camera tools. I recommend you look first into what it can do for you. And then look into specific tutorials or examples.
2) When testing things, break it down to elements and get them to work. In this case, forget about the buttons on screen and first simply trigger this through key presses, e.g. each room/button is mapped to a number key. To do this, just make a state with a “get key down” action. When pressed, go to the state where it moves the camera...
3) put the camera as child into a camera holder. Animate the holder from point A to point B. Name the animation clip along the lines of “from A to B”. Next, install
Playmaker’s ecosystem. Then get
Animator Cross Fade, which allows you to directly play a certain animation clip (see discussion
here). So, after pressing key 1, play animation clip “from a to b”.
4) This is just one way. Another way is use pathfinding. It’s pretty simple to use in your case, called NavMesh. The gist of this goes like this: each target location is a waypoint, e.g. a simple game object that is invisible. On pressing the key, move the holder to that waypoint, using pathfinding.
Hope this gives a few directions. good luck 😉