Getting started
To begin, we'll create a new scene named PlanetsScene
using the ARFramework
scene template. Follow these steps:
- Select File | New Scene.
- In the New Scene dialog box, select the ARFramework template.
- Press Create.
- Select File | Save As. Navigate to the
Scenes/
folder in yourAssets
project, name itPlanetsScene
, and click Save.
The new AR scene already has the following set up:
- AR Session game object.
- AR Session Origin rig with the raycast manager and plane manager components.
- UI Canvas is a screen space canvas with child panels; that is, Startup UI, Scan UI, Main UI, and NonAR UI. It also contains the UI Controller component script that we wrote.
- Interaction Controller is a game object that contains the Interaction Controller component script we wrote, which helps the app switch between interaction modes, including the Startup, Scan, Main, and NonAR modes. It also has a Player Input component that's been configured...