Preparing the scene

Our AR graphics will be parented by a Root game object and then positioned when the AR Prompt detects a screen touch. We can add Root now. We'll start with a temporary Cube as our content, then add the real graphics next:

  1. Temporarily disable the Main Canvas' Content Scroll View panel in Hierarchy.
  2. In Hierarchy, Create Empty named Root, reset its Transform, and set its Position Z = 2.
  3. Create 3D | Cube, and set its Transform Scale to 0.1, 0.1, 0.1.

At this point we can import the ChangeATire-ARGraphics package we have provided with the files for this chapter of the book.

  1. Choose Assets | Import Package | Custom Package... to import the package.

Next, we can continue to build our project.

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

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