From the course: Unity Medical Visualization: 02 Animation and Coding
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Connecting the UI to isolations - Unity Tutorial
From the course: Unity Medical Visualization: 02 Animation and Coding
Connecting the UI to isolations
- [Narrator] In the previous movie, we set up our canvas object to be adaptable to different resolutions here. And in this movie I want to create our toggle button. This is the button we're going to press to enable or disabled animation playback for the heart object. Let me show you how to set that up. I'm going back to the scene tab and double-click on our canvas to send to that in our view. The next thing I'm going to right click on the canvas choose UI and I'm going to choose the option toggle here. So I'm going to select toogle and double click that to center it in our view. Immediately you can see we get this kind of checkbox setup. Now, this is fine if for the default arrangement and fundamentally it does represent the toggle behavior I want to create, but I don't want to use this image at all. In fact, I want to use the play image that I imported way back at the beginning of this course. If you take a look inside the…
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.