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.

Laying out the dialog

Laying out the dialog - Unity Tutorial

From the course: Unity: Building VR User Interfaces

Start my 1-month free trial

Laying out the dialog

- [Instructor] Alright, here we are back in unity and we are about to make our first dialog object. We already have some good layouts done and we are going to use the layout that we created for our palette UI. Now, before I duplicate that palette UI I'm going to make a structure for this new UI to sit underneath. In the hierarchy and an open space here, right click and click create empty. Call this DialogManager. And let's zero out of these transforms. Fantastic. And now, underneath DialogManager, I'm going to create the root for the actual dialog that we're going to create. Which is going to be a standard alert dialogue. Let's right click on DialogManager. Click create empty, and let's call it alert. I'm going to go and set its height to about two. And you can see here on my scene view it's sitting exactly where the camera's going to sit and that's exactly where we want the root of IDialog to be. Perfect. Now…

Contents