If you've been following along, you now have a scene with the Gallery Building object we just created. If not, perform the following steps to create a new scene and import the building model provided with the files for this chapter:
- Create an empty scene using File | New Scene.
- Save it to a new file,File | Save As, and name it Scene-10-1-Gallery.
- Import the GalleryBuilding.obj file by dragging it from your system explorer into the Project window Assets folder, or use the Assets | Import New Asset... menu.
- Drag the GalleryBuilding from the Project window into the scene Hierarchy.
- Reset its Transform by using right-click | Reset.
Now, we can set up the scene for VR with an XR camera rig. To do this, follow these steps:
- Add an XR rig by selectingGameObject | XR | Stationary XR Rig (orRoom-Scale XR Rig, if you prefer).
- Position the rig at the north-east...