From the course: Unity: AR Visualization 03 Complex Interactivity

Using the exercise files - Unity Tutorial

From the course: Unity: AR Visualization 03 Complex Interactivity

Start my 1-month free trial

Using the exercise files

- If you are following along with the exercise files you'll note multiple versions of the same Unity project broken up by chapter and movie. These represent the working files for the start of that chapter and movie. We'll be using Unity hub to open up our exercise files. And manage our Unity installs. Go to the installs tab. And here you will see that we have Unity 2019.2.4 installed. To check that you have the right modules installed go up to the menu option, click add modules. If you are using iOS make sure you have iOS build support. If you using Android make sure that you have Android build support and the sub-modules installed. That's the SDK & NDK tools and Open JDK. Go back to projects. Now to open up a Unity project in Unity hub Go up to add. Select the chapter and movie folder. Select AR App. And hit open. This will add that project to Unity hub. To open up in Unity simply click on this. Unity might take a while to open up the project for the first time. It's rebuilding the libraries for you. Now that we have Unity open, we'll be starting from our main scene. To find this main scene, navigate over to scene under assets and double click on the main scene. You'll find all the assets that we are currently working with. All the scripts are located under scripts. And we will be using the version of Visual Studio that ships with Unity. To publish your platform go up to file and build settings. Make sure you select the appropriate build platform that you are publishing to. And then hit switch platform. For Android users make sure that you have Google Play Services for AR installed on your device. This is sometimes required for older mobile devices. If you are using iOS, note that we're using iOS 13 on device and xcode 11 to publish. Now I personally prefer portrait for AR applications, but if you would like to change this go over to the project settings go up to resolution and presentation and here you can see we've got orientation settings. Currently set to portrait, but you can set it to any orientation you want even auto rotation. Now that we know how to get around our exercise file let's move on.

Contents