From the course: Unity: AR Visualization 02 Basic Interactivity

Using the exercise files - Unity Tutorial

From the course: Unity: AR Visualization 02 Basic Interactivity

Start my 1-month free trial

Using the exercise files

If you are following along with the exercise files, you will note multiple versions of the same Unity Project, broken up by chapter and movie. These represent the working files to start with for that chapter and movie. We will be using Unity Hub to open up our exercise files, and to install Unity. Before we open up an exercise file let's go to installs. Here you will see that I have Unity 2019.2.4 installed. Make sure you have the correct components for your platform. To check, click on this menu button here, go to Add Modules. If you are working with IOS, make sure that IOS Build Support is installed. If you are working with Android, make sure that Android Build Support is installed, as well as both of the sub components. All, right. Let's open up a project. Go to Projects, go up to Add, go and select the chapter and movie and click on AR APP. Then click Open. You'll see it appear in your projects window. To open it, simply click on this. And Unity will open up to this untitled default scene. To go to the scene that we're going to be using navigate over to scenes and double click on Main. Here you can see all of our visual assets ready to go. To publish to a specific device, go up to File, Build Settings. You'll see here that we're set to the PC Mac & Linus Standalone. That is the default bull target that Unity will fall back on. If you want to publish to IOS, select IOS and hit Switch Platform. And the same for Android. If you're using IOS be sure to install IOS 13 on your devices, and to be publishing with X code 11. You'll definitely need these to take advantage of all the features we're going to use. If you're publishing to Android, be sure to have Google Play Services for AR installed on your device. It's not required on all devices, but certainly helps with older ones. Now, personally, I like my AR experiences to be in portrait mode. But, if you'd like to change that you can do that by going up to Edit, Project Settings, and opening up Resolution and Presentation. Here, you'll find the orientation section, which is currently set to portrait. It gives you a host of different options, even auto-rotate. All right. So, now we know our way around the exercise files. Let's move on.

Contents