From the course: Unity: AR Visualization 03 Complex Interactivity
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Integrating the Part UI Note - Unity Tutorial
From the course: Unity: AR Visualization 03 Complex Interactivity
Integrating the Part UI Note
- [Speaker] All right. We have a PartUI note that represents the note prefab. Let's go to PartUI to start implementing it. Double click on the PartUI script. All right, so we're going to first add some namespaces. I want access to the Guid. So I'm going to use, using System; And I want access to collections, so I'm going to go, using System.Collections.Generic; Great, namespaces are sorted out. I just want to add in two editor-exposed variables. These are going to be for the note's container and the note's prefab. Let's go, public GameObject notesContainer; Next, public GameObject noteSource; All right! So we've got access to those two things that I've created. Next up, I want to make a collection of that PartUI note that I made. So, it's going to be private List<PartUINote> notes; And we're going to initialize it. So, what this will do is add a collection of all the notes, prefabs that when we instantiate we want to…
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)
Overview of the note system1m 1s
-
(Locked)
Adding the button to the in-world UI3m
-
(Locked)
Making the note data structure5m 11s
-
(Locked)
Making the note UI objects4m 55s
-
(Locked)
Making the Part UI Note script4m 16s
-
(Locked)
Integrating the Part UI Note3m 37s
-
(Locked)
Adding notes to the in-world UI6m 20s
-
(Locked)
Capturing the note with the keyboard4m 44s
-
(Locked)
AR app in action1m 16s
-
(Locked)
-
-
-
-