Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.95 KB

Environment.md

File metadata and controls

36 lines (29 loc) · 1.95 KB

Setting up your environment

Setting up Git

This part is only relevant if we're using Git.
If we rely on Collab to share our work, you'll only need Unity and a Unity account.
If we use Github, you'll need to:

  • Download git and install it. You can easily find a GUI client if you do not wish to use command line
  • Set-up a Github account.
  • Configure a SSH key, to be authorized to pull the project and to push your changes
  • Try to pull the project using SSH (if you use https, you won't be able to push changes)

Unity

Now for the game engine and editor itself:

  • Download the Unity Hub and install it
  • In the hub, Installs tab, Add a new version of Unity and select the one we're using

We try to stay on the LTS versions unless we have a good reason not to

  • Within the Projects tab, Add one and look for the folder you previously pulled from Github

VScode

We usually work with VScode for our projects.

  • You will need to install dotnet, mono (source), and if needed msbuild
  • You can get VScode here and install it
    • Install the extensions C# and Unity Tools

Warning
Within settings, disable the Omnisharp: Use Modern Net setting

  • In Unity, go to Edit > Preferences, and in External Tools
    • Select the external script editor to your vscode, if not already set
    • Check Embedded packages and Local packages before Regenerate project files
  • Open your Unity project with VScode (Assets > Open C# Project)
  • Verify that code correction and completion work (try some GameObject autocompletion in a monobehaviour)
    (Not entirely sure which ones we need tbh)