Chapter 2: Your First AR Scene
Creating a simple Augmented Reality (AR) scene is quite simple with Unity AR Foundation. The steps involved might only take a page or two. However, when we create a scene together in this chapter, each step will be explained in context so that you can gain a full understanding of what comprises an AR scene using AR Foundation.
But before we do that, we'll take a look at some AR examples provided by Unity, including the AR Foundation Samples project, and build their example scenes for your device. And because that project contains some useful assets, we'll export those as an asset package for reuse in our own projects.
In this chapter, we will cover the following topics:
- Building and running the AR Foundation Samples project
- Exporting and importing sample assets
- Constructing a new Unity AR scene
- Introduction to C# programming and the MonoBehaviour class
- Using AR raycast to place an object on a plane
- Instantiating...