An IDE is an Integrated Development Environment. You can think of Unity as an IDE for developing the game objects, assets, and the world itself. But what about the code that powers the game? Unity uses a programming language called C# to power its scripts, and this requires something known as the .NET Framework from Microsoft. This guide will walk you through setting up everything.
If you’re an experienced developer, follow the quickstart. Otherwise, jump down to Installation to follow a more detailed guide with screenshots.
The C# extension in VS Code replicates the C# functionality you might see in VS Community (the most popular IDE for C# development), which includes a feature called CodeLens which can display things like the number of times your variable is referenced. If you’re like me, you probably find this super annoying, so I was able to disable it by unchecking the setting: Extensions > C# configuration > Csharp > Reference Code Lens.
If you need steps on how to do this:
Ctrl + Commaon your keyboard, then search for