From the course: Unity Medical Visualization: 03 Deployment and Usability

Unlock the full course today

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

Setting build properties

Setting build properties - Unity Tutorial

From the course: Unity Medical Visualization: 03 Deployment and Usability

Start my 1-month free trial

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…

Contents