Create a new Unity project

Let's begin implementation by setting up a new project in Unity and getting it ready for AR. The steps here are abridged as it should be familiar to you by now. If you require more detail, please refer to the relevant topics in Chapter 2, Setting Up Your System, and Chapter 3, Building Your App:

  1. Open Unity and create a 3D project; I named mine PhotoFrames.
  2. Now is as good a time as any to import the Unity package with the assets for this project. You can download the file PhotoFramesAssets.unitypackage from the publisher's website (if you do not have access to the file, we will show you how to create your own substitute assets as needed in this chapter).

Images folders contains the images to show in the app; you can add your own favorites here. PhotoFrames contains the frame models and prefabs (simply named Frame 1, Frame 2 and Frame 3). The SimpleIcons folder contains the icon buttons, including textures, models, animations, and prefabs.

  1. Add an App folder for stuff we create in the project by navigating to the Project | Assets window, and creating a folder named App for our application-specific folders.

 

  1. Then, create subfolders named Materials, Prefabs, Scenes, and Scripts, as shown here:
  1. Save the scene named Main and save the project.
..................Content has been hidden....................

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