-
Book Overview & Buying
-
Table Of Contents
Unity 2022 Mobile Game Development - Third Edition
By :
Since the player can be anywhere when the game starts, we can’t use a camera in the traditional sense, so we will start by removing the original one. Follow the steps given here:
There are two key objects that we will need to create before we can start implementing our own features: AR Session and AR Session Origin.
Figure 15.6 – Creating an AR session
AR Session is what controls the life cycle of any AR experience, which allows us to enable or disable AR features depending on the platform we are working on.
Note
AR Session is also responsible for telling you whether your device supports AR. For information on handling this, check out https://docs.unity3d.com/Packages/[email protected]...