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)
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
We usually work with VScode for our projects.
- You will need to install
dotnet
,mono
(source), and if neededmsbuild
- You can get VScode here and install it
- Install the extensions C# and Unity Tools
Warning
Within settings, disable theOmnisharp: 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)