The rest of the AR objects we add will be parented under an object named ARRoot. This object will serve as the origin of our AR scene:
- Create another empty GameObject in the Hierarchy and name it ARRoot. Be sure that its Transform Position is (0, 0, 0).
- The ARRoot object, and any of its child objects, should reside on the AR Background 2 layer. In Inspector, set its Layer to AR Background 2 (this is the object's layer set at top of the Inspector).
- Then, use Add Component to add the script AR Origin.