Unity Svn ignore

来源:互联网 发布:优麒麟和windows 编辑:程序博客网 时间:2024/06/18 14:42

For Unity 3 and 4:

  1. Goto Edit>ProjectSettings>Editor
  2. In theinspector, change Version ControlMode to MetaFiles
  3. If youhave pro, change Asset SerializationMode to ForceText

This will ensure that all your metadata is set in local metadatafiles, instead of in your Library folder. At this point, theLibrary folder becomes unnecessary to keep synced betweenusers.

Now you can ignore these files in your preferred version control,including the entire Library folder:

  1. $PROJDIR/Temp/
  2. $PROJDIR/Library/
  3. $PROJDIR/Obj/
  4.  
  5. *.csproj
  6. *.unityproj
  7. *.sln
  8. *.user
  9. *.userprefs
  10. *.DS_store
0 0
原创粉丝点击