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.
Preparing the buttons - Unity Tutorial
From the course: Unity: Building VR User Interfaces
Preparing the buttons
- [Instructor] Now that we've turned our VR HUD into something useful, like our login console, it's time to add some interactivity. I'm going to add two buttons to the bottom of this console, one to clear and one to test the console. But before I do that, I'm going to need to bring in some assets. Now I like rectangular buttons as much as the next guy, but I'm quite partial to rounded corners. So now I want to bring in a sprite that's got rounded corners that I can use for a button. Let's navigated over to the exercise files for this course, for this video. Here in the folder 0304 we've got two folders the one VRUI, which is the project and folder called Assets. Let's double click on Assets, we've got the roundedRect 16. That means that my corners happen over 16 pixels, and I'm going to go and drag this in to the Content folder. Let's go and take a look at our roundedRect 16. Now the first thing I want to do is change the…
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)
What is a reticle and why do you need it?1m 57s
-
(Locked)
Creating a simple reticle3m 56s
-
(Locked)
Reworking the HUD as a logging console4m 47s
-
(Locked)
Preparing the buttons7m 15s
-
(Locked)
Adding interaction to the console4m 14s
-
(Locked)
Customizing the reticle5m 26s
-
(Locked)
The usefulness of a ray pointer7m 21s
-
(Locked)
-
-
-
-