From the course: Unity and Vuforia: Trying on Watches in Augmented Reality
Unlock this course with a free trial
Join today to access over 22,600 courses taught by industry experts.
Watch swap, part 2 - Unity 3D Tutorial
From the course: Unity and Vuforia: Trying on Watches in Augmented Reality
Watch swap, part 2
we are going to write some code to implement the watch selection functionality. So as we discussed in the previous video, when a user clicks on a watch button, two things will happen simultaneously. First, the watch corresponding to that button will show up on the user's wrist, and second, the watch window corresponding to that watch and it is similar to C++ and Java. So before writing the code, let me give you a brief about how the code is actually going to work. So as I said, when a user clicks on a watch button, two things happen, the first one is the watch corresponding to that button shows up on the user's wrist. So how does that happen? So in the hierarchy, you see these three objects, which is watch one, watch two, and watch three. These are the three watch models. So right now watch one and watch two are disabled, because there's no check mark, and watch three is enabled. Let me just disable watch three as well. So how the code for this will actually work is, suppose the user…
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.