From the course: Unity Medical Visualization: 03 Deployment and Usability
Unlock the full course today
Join today to access over 24,500 courses taught by industry experts.
Converting mobile controls - Unity Tutorial
From the course: Unity Medical Visualization: 03 Deployment and Usability
Converting mobile controls
- [Instructor] In the preceding movie we saw how to code the input system using GetAxisCustom to reconfigure the controls for the Cinemachine Free Look Camera. And this works great for the most part, but there is a problem. And I want to point out to you what that is. I'm going to jump back to Unity here and then press play on the toolbar to begin playback. On playback, we have the ability as before to control the motion of the heart by using the up and down and left and right keys as well as the mouse and touch input. But if I move my cursor over the interface, and in this case the only interface element that we have immediately available is the toggle button on the top right-hand side, which we can click to press the animation here. But if I click and drag my mouse while over that button, I can still maneuver the camera around the heart. And, actually, that should only happen when my mouse-click occurs when it'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.