Setting up the project

This first version of the project will be a mobile app that simply lets you step through the instructions for changing a tire. Unlike the projects in the previous chapters, the first iteration of this project will not use AR. So, the Unity project setup is quite simple.

  1. Open Unity and create a new 3D project, and name it something like How to Change a Tire.
  2. Save the empty scene and name it Main.

Set the project for your target platform. We will assume Android for purposes of our discussion.

  1. Go to build settings via File | Build Settings.
  2. Switch Platform to Android.
  3. Add the current scene and press Add Open Scenes.
  4. Choose Player settings..., then set your Identification Package name (com.Company.Product) and Minimum API Level (Android 5.1).

If you are developing for iOS or Windows UWP instead, set the platform accordingly.

At this point in the project we are not developing for AR, so you should not set the AR or Virtual Reality Supported settings, assumed previously in the book, until the next chapter when we modify the project for AR.

It's useful now to create some empty folders in the Project Assets that we will use soon.

  1. In the Project window, select the top-level Assets/ folder.
  2. Create a new folder in Assets/ named HowToChangeATire.
  3. Within Assets/HowToChangeATire, create four more new folders, Resources, Scenes, Scripts, Textures, as shown ahead:
  1. Tidy up by moving the main scene file into the new Scenes folder.
  2. Save your work (save scene, then save project).

OK, now we can get started building our first scene.

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

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