From the course: Unity: Building VR User Interfaces

Unlock the full course today

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

Animating the overlay

Animating the overlay - Unity Tutorial

From the course: Unity: Building VR User Interfaces

Start my 1-month free trial

Animating the overlay

- All right now that we have our overlay laid out perfectly, we're going to go and add some functionality to the overlay by using the Animator Component as a statemachine and animations for that animated component as states. So let's go and navigate over to our overlay object. I'm going to use a shortcut by clicking on the object in the scene. That's going to bring me to my Overlay Component. Now, if we scroll down, we will have our Animator available and you'll see that we've got the overlay. Let's go and double click on the Overlay to open it up in the Animator window. All right. So by default, you'll see that it opens up here. It's pretty large. So I'm going to zoom out using my middle mouse button, give me some more space. And what I want to do is drag in my animations. So I'm going to start with the Close animation. The first animation that dragon is going to be my default, and then I'm going to drag in my Open.…

Contents