Unity+GIT Quick Setup Tutorial

You will need

  • Unity
  • Git ( and Git-LFS)
  • VSCode

Tutorial

  1. First create your project in unity
  2. Then, open the project folder in vscode
  3. In the root of the folder add two files
  4. Go the the source control tab on the left side of vscode, select publish to github and follow the prompts

Sharing

Now your project is on github, you can add your friends as collaborators. They can then clone the project and open the folder on their unity install.

After this point, it is like working on a standard Git repository, you can find many great tutorials on how to properly use it.

Top-tips

  • Never work on the same scene, remember you can copy paste between scenes easily so you can merge the changes later on
  • Only setup people that need unity access, art and music files can be sent over another way
  • Try keep the assets folder vaguely organised
  • Split out functionality into different scripts

Happy coding :)