From the course: Unity Medical Visualization: 03 Deployment and Usability
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Setting build properties - Unity Tutorial
From the course: Unity Medical Visualization: 03 Deployment and Usability
Setting build properties
- [Instructor] In the previous movie, we added code that allows us to roll the middle mouse wheel up or down to zoom in and out of the heart. That's great, and in this movie I want to finesse that mechanic even further. To do that, I'm going to introduce a UI element, a scroll bar or slider that allows us to control the zoom directly from the user interface. So to do this I'm going to move over to our Canvas object here, where you can already see in the top right hand side we have the play button to control animation playback. But on the right hand side here, I want to fix a slider that we can move up and down. To control the zoom of the camera. To do this, I'm going to select the Canvas object, right-click, move down to UI, and then select Slider from the menu to create a new slider in the scene, you can see that a slider is added by default, horizontally left to right, right in the center of the view. Now that's…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.