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 explosions

Connecting the UI to explosions - Unity Tutorial

From the course: Unity Medical Visualization: 02 Animation and Coding

Start my 1-month free trial

Connecting the UI to explosions

In the preceding movie, we configured our bubble message to constantly face the scene camera wherever it's rotated. And that's really great for displaying messages and always being able to see them. Right now, we have just one message, "left ventricle." But of course, we're going to want to add more to view the right ventricle and potentially other parts of the heart. Now, we don't want those messages all to show on screen at the same time. That could be horribly confusing. Instead, I'm going to create a system where only one message is shown at any one time. The idea here is that we have the "left ventricle" message. When we left-click on that message or when we tap on that message, I want it to disappear and to show the next message. And when we tap on that, it's going to show the next one, and so on, in a complete sequence of messages. To start configuring this, I want to set up the left ventricle object that we have here…

Contents