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.

Creating the UI, part 2

Creating the UI, part 2

- [Instructor] Now these buttons are ready, let's create this watch window. Let's first understand what exactly this window is made up of. So this rectangular white base that you see is just an image component. Inside it, the first component is again an image. The image of a watch. These two components are fixed components, and these two are buttons. So let's create this in Unity. First we are going to create the base rectangle window, so click on Canvas. Right click, UI, and select Image. Because that base window is basically an image. Now we have to set the dimension of this window. To do that, go to the images, click on the watch window image, and just check the dimension of this image. So the width of this image is 661, and height is 1037. So I'll click on the image and then inspect the window. I'll give a width of 661, and height of 1037. Now this looks really large right now, so let's scale this down while keeping the ratio. So to do that, you can click on the Scale tool. Click…

Contents