In the previous chapter, we saw how to create a new project in Unity; import an AR SDK package, such as Vuforia or ARToolkit, into the project; and build a scene with a camera, target image recognition, and virtual object (cube). To summarize, a Unity AR-ready scene, such as the demo scene we built in the previous chapter, should contain the following:
- A camera with SDK-specific AR components attached
- A game object representing an image target, with an SDK-specific component identifying the image to use and where to find it
- Game objects to render when the target is recognized at runtime, parented by the target, and registered to the target's position in the 3D space
- The scene hierarchy, arranged according to the requirements of the specific SDK, including additional SDK-specific components
We tested our demo scene by running it in the Unity...