Unity provides its own xxxserver, but comments do not seem to be very useful, mainly because it does not support branch and other important features of our projects. It also recommends a version management system such as perforce, but they are expensive. So I am still planning to use SVN to manage it.
Directory for Version Management
After a new unity project is created, many directories and files are generated.Only two versions need to be managed: assets and projectsettings.. Others are automatically generated:
- *. Csproj, *. sln the IDE project files are automatically generated;
- Library, which stores a local cache file. Do not add it to version management;
- TEM, which is the file generated during the build process;
Unity Project Settings
To work with SVN, you need to make some settings for the Unity project:
- Menu: Edit-> Project Settings-> Editor: Version Control: select[Visible meta files];
- Menu: Editor-> Project Settings-> Editor: asset serialization mode:[Force text]
- Menu: Edit-> preferences-> packages: Repository[External];
References
- Http://unity3d.com/learn/tutorials/modules/beginner/architecture/folders-in-version-control
- Http://docs.unity3d.com/Manual/ExternalVersionControlSystemSupport.html