可參考
- Using External Version Control Systems with Unity
- Correctly using external Version Control Systems with Unity
實際步驟如下
- *建議在開始前先備份整個Unity專案目錄
- 在Unity開發程式中選擇Edit → Project Settings → Editor
  
 
- Inspector中會出現Editor Settings,將Version Control Mode改為Meta Files、Asset Serialization Mode改為Force Text
  
 
- 儲存後關閉整個Unity,確保所有設定都被儲存了
- 刪除根目錄的以下附檔名檔案
 *.csproj
 *.pidb
 *.sln
 *.userprefs
- 保留Library目錄的*.asset與AssetServerCacheV3檔案,刪除其他Library目錄的檔案與子目錄
  
 
- 將整個Unity專案目錄Import到SVN,並Check out出來用Unity開啟來看看有沒有問題

 

0 意見:
張貼留言