There are some basic steps you need to perform so that your Unity Editor application is set up for AR development. AR projects created with Unity have, at their core, the AR Foundation package and XR Plugin Manager. In the previous recipe, things were set up for us already as part of the Unity AR samples project. In this recipe, we'll create a new Unity project and set up AR Foundation. As part of this recipe, we'll also be adding the appropriate plugin for the target device that the AR project is going to be developed on (iOS/Android).
In this recipe, you'll learn how to add the modules you need to your editor application, install the templates, open the sample scene, and set up the Build Settings for development on an Android device:
Figure 15.64 – The AR project we'll create, with just a Cube overlaid on the device camera view