708's Wiki

Dudes of 708's knowledge base for getting started and tools we use

Edit the wiki on GitHub dudesof708/wiki

Visit our homepage 7o8.tech

Setting Up IDEs


Back to homepagesoftware resources guideUnity setup guide


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.

Quickstart

If you’re an experienced developer, follow the quickstart. Otherwise, jump down to Installation to follow a more detailed guide with screenshots.

  1. Get a text editor of your choice. I use VS Code. If you also use VS Code, install the C# Plugin.
  2. Install the .NET Core SDK, and refresh your PATH.

Installation

  1. You’ll need a text editor of your choice. I reccommend VS Code, as it has a lot of powerful features, like linting, IntelliSense, and more.
  2. Now you’ll need a .NET Framework SDK. Download the .NET Core SDK for VS Code or the .NET Core SDK if you chose another code editor. .NET Installer
  3. If you chose to go with VS Code, I reccommend installing the C# Plugin so you get support in your code editor for all of its fancy features.
  4. Reboot your computer.

Footnotes

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:

Disabling CodeLens

  1. Press Ctrl + Comma on your keyboard, then search for codelens.
  2. Under Extensions, click C# configuration.
  3. Find Reference Code Lens and uncheck it.