From the course: Unity: Building VR User Interfaces
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Using an overlay to get attention - Unity Tutorial
From the course: Unity: Building VR User Interfaces
Using an overlay to get attention
- [Instructor] All right. Now, we have a good idea of how our input masking is working. It's time to work on an overlay. Now in VR, when you launch the dialogue, you'll see that the dialogue follows you around, but it's still visually competing with information in the rest of the scene. We're going to use the overlay to kind of dim out everything else from the rest of the scene to make our dialogue pop forward. We're going to be doing this by putting an image directly in front of the camera and playing with sorting depth. So let's get going. Let's navigate over to the OVR player controller, and let's navigate down until we get to our center eye camera. Now note in the center eye camera here that a near plane is 0.1. So we want to add something as close to that as possible. It's opened up the center eye camera, right-click on it and create an empty. Let's go call this overlay, and let's go and add a canvas to this…
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.
Contents
-
-
-
-
-
-
-
(Locked)
Why worry about dialogs?2m 20s
-
(Locked)
Laying out the dialog5m 25s
-
(Locked)
Simple head tracking dialog setup3m 40s
-
(Locked)
Input masking5m 4s
-
(Locked)
Using an overlay to get attention4m 53s
-
(Locked)
Animating the overlay5m 48s
-
(Locked)
Adding animation to the dialog5m 32s
-
Reworking the dialog to fade in3m 44s
-
(Locked)
-
-