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

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…

Contents