Getting started
To begin, we'll create a new scene named ARGallery
using the ARFramework
scene template, with the following steps:
- Select File | New Scene.
- In the New Scene dialog box, select the ARFramework template.
- Select Create.
- Select File | Save As. Navigate to the
Scenes/
folder in your project'sAssets
folder, give it the nameARGallery
, and select Save.
The new AR scene already has the following objects:
- An AR Session game object.
- An AR Session Origin rig with raycast manager and plane manager components.
- UI Canvas is a screen space canvas with child panels Startup UI, Scan UI, Main UI, and NonAR UI. It has the UI Controller component script that we wrote.
- Interaction Controller is a game object with the Interaction Controller component script we wrote that helps the app switch between interaction modes, including Startup, Scan, Main, and NonAR modes. It also has a Player Input component configured with the AR Input...