Build settings

Before we can start the building process, we will need to set up Unity's build settings so that we get the correct output to compile. The building is a word used to say that Unity will take all of the assets that we have put together and break it down into a format that Visual Studio can understand:

  1. Click on File and move it to Build Settings or press Ctrl + Shift + B:

This will bring up the Build Settings window. Unity can output a project to many different platforms; but we need to set it up for HoloLens.

  1. Click on the Add Open Scenes button to add our current scene to the Build register:
  1. Under Platforms, select Windows Store and click on the Switch Platform button below it. The Unity icon will appear next to Windows Store to let you know that it is selected.
  2. On the right-hand side of the window under Windows Store, search for the SDK drop-down box and select Universal 10.
  3. Select the UWP Build Type drop-down and change it to D3D.
  4. Check the box next to Unity C# Projects.

This is how our Build Settings window should look now:

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

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