We decided to name this version of the project How to Change a Tire - Holo. Open the project in Unity, and set it up for HoloLens development using the HoloToolkit:
- With the old Main scene open, select File | Save Scene As and name it Main-Holo.
- Select File | Build Settings and replace Main with Main-Holo in the Scenes To Build.
- Switch platforms to the Windows Store. We will let the toolkit set the other configurations.
- Import the MixedRealityToolkit package (if you haven't downloaded it yet, you can find it at https://github.com/Microsoft/MixedRealityToolkit-Unity ).
Note that the following Unity Editor menu item names may have changed in your version of the toolkit.
- Choose main menu Mixed Reality | Configure | Apply HoloLens Scene Settings and accept all the settings. This sets the Camera Settings for you.
- Save the scene.
- Choose main menu Mixed Reality | Configure | Apply HoloLens Project Settings and accept all the settings. This sets the Build Settings for you, and restarts Unity.
- Choose main menu Mixed Reality | Configure | Apply HoloLens Capability Settings and accept all the settings. This sets the Player Settings for you.
- Save the scene and save the project.
Also, import the ARGraphics package. We have created a Unity package with graphics we can use. This package includes arrow graphics and other prefabs used in the augmented instruction content. If you haven't already, please download the file ChangeATire-ARGraphics.unity from the publisher's site for this book.
From main menu, select Assets | Import Package | Custom Package..., find the ChangeATire-ARGraphics package, and import it.
The project is now ready to port the content to AR.