Welcome back and this video, we are going to create our first project directly from the unity hub,
therefore, open up your unity hub, go over to projects over here and then click on new.
This will then open up this window where you can select from different templates to D is the template
that you would use for 2D games, 3D, of course, for 3D games, then the high definition RPG is an
option, whereas our P stands for.
Render pipeline, and then you have the universal render pipeline, so here universal arpit, but as
discourse is for beginners, we are not going to dive deeper into high definition Arpit and Universal
R.P.M. We're going to focus on 3D and 2D games.
If you want to find out more about the individual templates that are made available, you can click
on this eye here and we'll tell you what this is all about.
And this is going to use to unities built in renderer for 3D projects if we select it internally.
A 2D project is also really a 3D project, but it doesn't use to Zodiac's.
So basically it's the same thing, but slightly differently designed or set up for you.
Then you can see that these are options that are not by default downloaded, but you can download them
anytime by clicking this download button and then use those templates.
So you can see there's two mobile games, as well as the mobile games, as well as a AR and VR as options
available for now, we're just going to select the 3D option.
Then you can give your project a name.
I'm going to call this one my first game and click on CREATE.
Of course, you also can change the location if you feel like it.
This will then take a little while because you needs to set up a bunch of assets for us.
Because unity needs to load the whole project, because as we have selected the three template, there
is a bunch of stuff included there and once the project is loaded, you should see something like this
here.
There's a lot going on and we're going to go over the individual aspects of it in the next video.
But first of all, I want to make sure that Visual Studio is going to work for us correctly because
we have set up Visual Studio to be our editor.
That is going to be the one that takes care of the code.
And in order to make sure that this is going to work.
Let's go over to preferences and here select external tools and make sure that open by file extension
is not the one selected by the visual studio community is the one that is selected is not the case by
default, by default, maybe open by file extension is the one that will be selected for you.
But in case visual studio community was selected for you automatically, you're good to go.
Otherwise, please selected your visual studio version might be different to mine, and especially if
you're using a Mac, it will also be called very differently.
So it will be something like Visual Studio Mac, for example.
OK, and once that is set here, we can close the preferences.
We can go over to our assets here and create a new C sharp script in order to make sure that this is
actually going to work, because otherwise you might run into problems later on.
So just create a script here by clicking right.
Click create script.
And then the script will be called New Behaviourist Script by default.
If you don't change the name for it now, double click it and this should open up visual studio for
you.
And if you are not signed in in Visual Studio, you will need to sign into your visual studio account
at this point.
So make sure that you create a visual studio account if you don't have one, in case you don't have
a visual studio account, which basically is a Microsoft account because Visual Studio is owned and
created by Microsoft, you can go over to sign up to the live dot com and there sign up.
This will then allow you to create a new account.
You can go through these steps here to create an account and then log into visual studio with your account.
So once you're in visual studio, you can go up here to the top and log in or sign into your visual
studio account if you are not signed in already.
All right, then, once all of that is handled, let's look at what we have here.
There's a lot going on and you don't need to understand anything that is written here.
For now, you're going to understand all of that later on, of course, because I'm going to teach you.
But for now, I want you to type one thing in.
And this will make sure that Visual Studio is set up correctly, which just makes sure that your visual
studio is set up correctly so that you can, well, basically build games and develop code and write
code that works well with unity.
OK, and here just enter our eye and then if rigid body comes up, then you're good to go.
And if it doesn't come up, then make sure that you really have this connection between visual studio
and unity.
So then probably in this setting here isn't selected properly.
OK, if that's not the case selected and if it still doesn't work, restart unity, restart visual studio
and then check once again.
So open visual studio through double clicking onto this headset here and then Visual Studio will open
up for you automatically and then again you can enter rigid body.
So I'm showing this in so much detail because quite often this is something that doesn't work by default
or some settings are not set up correctly.
And then suddenly my students get stuck.
That's why I go over this in so much depth this time.
But it's really important for you to do this correctly because otherwise you will be stuck later on.
And this is very frustrating.
So let's try to avoid that.
But we're not going to use Visual Studio for quite a while in this course because we decided to, first
of all, teach you all the good stuff about unity and build the unity game from scratch without writing
a single line of code.
So that's what we're going to do in the next chapter.
But for now, let's look at the user interface of unity, and that's what we're going to do in the next
video.
So see you there.