Published By
Created On
2 Jun 2020 00:24:19 UTC
Transaction ID
Cost
Safe for Work
Free
Yes
More from the publisher
ar-in-unity-02-install-and-setup-ar
ACCESS the FULL COURSE here: https://academy.zenva.com/product/augmented-reality-mini-degree/?zva_src=youtube-ar-md
TRANSCRIPT
Welcome, everyone. In this lesson, we are going to be setting up a Unity project so that in the future, we can easily just jump straight in and get working with AR Foundation. So, here I am inside the Unity Hub. The first thing we want to do is make sure that we have either the Android or iOS build platforms installed. So, I'm gonna go to the Installs tab here, find my Unity version I'll be using, and then click on the little three dots here and go Add Modules. You need to make sure that you either have Android here with Android SDK & NDK Tools enabled and installed, or iOS Build Support enabled and installed. You can just enable this and click Done, and that will begin installing. I'm using Android for my example because I am working on a Windows PC, so building to iOS is not possible, but if you are working on a Mac computer, you can build to iOS. So, make sure that you have those, either the Android or the iOS modules installed. And then we can go to Projects and then we can click on the New button right here and create our new Unity project. All right, so here we are inside of Unity. To begin, let's go up to File, Build Settings. Inside of this Build Settings window, what we want to do is first of all switch over to our desired platform that we wanna build to. This can be either Android or iOS. In my case, I'm building to Android, so I'm gonna select the Android platform right here. Now, you do need to make sure that you do have either the Android or iOS platform installed as a module onto your Unity version. And do know also that if you are working on a Windows computer, you cannot actually build to an iOS device. So, only on a Mac computer can you build to iOS. So in our case, we're gonna be building to Android. So, select your build platform right here and then just click on Switch Platform. It shouldn't take too long since we do have an empty project, so this should pretty much go ahead pretty fast, just like that. And now, as you can see, ooh, it's just doing a bit more here. And now, as you can see, at the top here, it says Android instead of PC, Mac, & Linux Standalone. Now, the last thing we wanna do here in Build Settings is click on the Add Open Scenes button right here to just add our current scene to the Build Settings as this is the scene that we want to launch when we actually play the game. So, we can close out of that now. And what we want to do is actually import the packages that we're gonna be using for this app. Now, we need to, first of all, install the AR Foundation package. And then also, either the ARCore or ARKit plugin, depending on what you're going for. Remember that ARCore is the And
...
https://www.youtube.com/watch?v=Wefzs2kgUVA
Transaction
Created
1 year ago
Content Type
Language
video/mp4