Now it's time to build again

As we did in the last few chapters, we need to build again. Before we do that, we must make sure that this scene is in the build setting; let's carry out the following steps:

  1. Press Ctrl + ShiftB to open the build settings window.
  2. Click on the Scenes/Chapter3 entry.
  3. Press Delete.
  4. Now, click on the Add Open Scenes button.

If you see Chapter4 appear in the window, you are ready to go. Click on Build, and follow the process previously laid out.

Once the build is complete and deployed onto your HoloLens, run HoloLens Beginners Guide.

You will initially see the menu and the ball in front of the menu. If you move your head to the left or right, the menu should move as well. Once you can see your menu, look at the buttons; when they are green, you can airtap to activate them.

Change Color will obviously change the color of the ball:

Air tapping Launch Ball will move the ball upward:

Reset Ball will move the ball back down near the bottom.

Nicely done!

With a basic understanding of Unity UI, we have one more quick item to go over in the topic of User Interfaces.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.221.38.104