Which Unity project files can be ignored for versi

2019-04-02 16:51发布

Which files / directories in a unity project can be safely ignored when checking into version control (SVN / GIT)?

Temp/

/Library/cache/

2条回答
Melony?
2楼-- · 2019-04-02 17:07

gitgnore.io is a great resource for this. Select Unity, your IDE, and your OS.

查看更多
爱情/是我丢掉的垃圾
3楼-- · 2019-04-02 17:20

First set Edit -> Project Settings -> Asset Serialization = force text

Then use this file for git: https://github.com/github/gitignore/blob/master/Unity.gitignore (copy in the main folder near Assets, Library etc.). If using svn stop using svn.

And yes, the .meta files are necessary.

查看更多
登录 后发表回答