From the course: Unity: AR Visualization 01 Basic Concepts

Unlock the full course today

Join today to access over 24,100 courses taught by industry experts.

Completing your dialog with a button

Completing your dialog with a button - Unity Tutorial

From the course: Unity: AR Visualization 01 Basic Concepts

Completing your dialog with a button

- [Instructor] Now that we have our dialogue magic, it's time to apply it. So let's drill down to our model dialogue object, click on dialogues and open up until we get to the dialogue object. Fantastic. So let's go and grab our model dialogue script and drag it directly onto our model dialogue object. Now it's asking for a text object here, so I'm going to open up content, grab my text object and put it in. Now I want to complete this dialogues UI by adding a button. This will be the last visual element we need, something that we're going to tap on to close the dialogue. I'm going to take a shortcut. For my button, I need a background and some text and look right here. Content has exactly that. So I'm going to duplicate content to do that on a Mac. I'm going to go control, duplicate. And there you can see that we have completely duplicated our content element. I'm going to rename this content element to simply button.…

Contents