Let's get Visual Studio set up!
-
Download Visual Studio 2022 Community Version
-
Click on Download Visual Studio
-
Save the VisualStudioSetup.exe file to Downloads
-
In Downloads, double-click the .exe file to open it.
-
In the User Account Control pop-up, click Yes.
-
In the Installer window that pops up, click Continue
- This will download the Visual Studio Installer, from which you can install Visual Studio 2022 Community Edition
-
In the window that pops upon a finished installation, where you are asked to select workloads for Visual Studio, choose:
- Game Development with Unity
-
In the bottom right of the window, click the Install button (should have a purple outline around it)
- Now, Visual Studio will install.
- This might take a while. So, relax and take a breather!
-
Once installed, it'll launch automatically.
-
The next window will ask you to sign into either a Windows account or a Github account.
- Log into whichever you want. Or don't log in. It's up to you.
-
In the next window, keep Development Settings to General and pick whatever theme you want.
-
Click Start Visual Studio
-
If a window pops up asking you to open a folder or create a folder, click the Continue without Code option (in small print, at the bottom)
-
Next, open your Unity Project and do the following:
- Go to Edit (up top), click it, and then find and click Preferences
- On the left sidebar, find and click External Tools.
- In the External Script Editor, find Visual Studio Code.
- If not there, click Browse...
- In File Explorer, on the top right, search for Visual Studio 2022 (the app itself)