You will need
- Unity
- Git ( and Git-LFS)
- VSCode
Tutorial
- First create your project in unity
- Then, open the project folder in vscode
- In the root of the folder add two files
- Make a file called .gitignore and paste in this content
- Make a file called .gitattributes and paste in this content
- 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 :)