I'm trying to set up my VS Code in order to properly work with a Unity project using Windows 10 as OS. This is what I've done:
- Installation of Unity v.2019.3.0a2;
- Installation of Visual Studio Code v.1.40.2;
- Installation of C# (the Visual Studio Code extension);
- Installation of .Net;
- Setting up VS Code as Unity Script Editor (as described here);
At this point I imported my project root folder in the VS Code workspace but the IntelliSense function doesn't work. So I read this guide and then I ran:
dotnet new console
dotnet run
Now it seems that the IntelliSense works but VS Code doesn't recognize the Unity classes and, for this reason, my project is full of errors. Is there a way to fix it or to import the UnityEngine package?