From the course: Unity: Architectural Visualization Interactivity

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Supporting user choice and interaction

Supporting user choice and interaction - Unity Tutorial

From the course: Unity: Architectural Visualization Interactivity

Start my 1-month free trial

Supporting user choice and interaction

- In the preceding movie, we created our UI of buttons. Move left and move right. When you click the move left button the camera moves left and when you click move right the camera moves right. And that's looking great. This controls the camera animation. But the problem is that when I press play on the tool bar, the buttons are immediately visible. We can press them at any time and we want them to appear only when we reach the staircase. In this movie we're going to be creating that functionality by developing a script file. Now this script file is included in this exercise files included with the course. If you go to the assets to import folder you can see the name written here there is the animaction.c sharp script. I'm going to drag and drop that to import it into the project. And we'll take a look at how that script file is set up. Now, the great thing about this script file is that you can use it not just on this…

Contents