O'Reilly logo

Augmented Reality Game Development by Micheal Lanham

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Connecting the pieces

With the Places scene complete, now we need to integrate the scene back into the Gamescene. Perform the following instructions to configure the Places scene so that it can be loaded by the GameManager:

  1. From the Assets folder in the Project window, drag the Game scene into the Hierarchy window.
  2. Select the Inventory service in the Places scene, and note what you set the Inventory Service - Database Version to in the Inspector window. Then, select the Inventory service in the Game scene and change the Inventory Service - Database Version to match.

    Note

    If we did not do this step, the database may get corrupted and just wipe itself clean with the updated objects. This is not so critical at this point, but would be very inconvenient ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required