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.
Simple head tracking dialog setup - Unity Tutorial
From the course: Unity: Building VR User Interfaces
Simple head tracking dialog setup
All right. We got our dialog all laid out and ready for some functionality. Let's go and bring in a script to enable all of this. Let's go over to the exercise files for this video. It's got to be folder 05 underscore 03 and it's open up this assets folder and drag in this DialogManager.cs script to our scripts folder in our project. All right, it's a chunky script and we'll be going over it in the next video. But for now let's drag it onto the Dialog Manager. So I'm going to select my Dialog Manager drag my script into the inspector. Excellent. So we've got a whole bunch of different options here. The first thing we're going to do is create a data instance for the dialog that we're going to open. So let's open up this little drop-down where it says Dialogs it's an array. We're going to make the array, have a value of one. So we going to have one element in this array. Let's open this up a little further and let's…
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.