LoginSignup
23
19

More than 5 years have passed since last update.

2015-08-29 unity > プロジェクト名の変更 > フォルダ名を変更 / .slnと.userprefsは削除する > MonoDevelopでスクリプトを開いた時に.sln / .userprefsが再作成される

Last updated at Posted at 2015-08-29
動作確認
Unity 5.1.2-f1 on MacOS X 10.8.5

途中まで作成していたプロジェクトについてプロジェクト名を変更したくなった。

  • 変更前 : udpEcho
  • 変更後 : udpRepeater

answers.unity3d.comを参考にした。

Quit Unity, rename the main folder, the one that contains Assets and co, and restart Unity.
...
How about the .sln and .userprefs names to match the rename of the folder?
...
You can just remove them, Unity will regenerate them afterwards

  1. Unityを終了する
  2. フォルダ名を変更する (udpEcho -> udpRepeater)
  3. .slnファイルを削除する (下図参照)
  4. .userprefsファイルを削除する
  5. 新しいプロジェクトで開く (Open Other -> フォルダ選択)
  6. script (C# or javascript)をダブルクリックしてMonoDevelopを開くと .slnファイルと.userprefsなどが新しい名前(udpRepeater.*)で再作成される

変更前
udpEcho.jpg

変更後
udpRepeater.jpg

23
19
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
23
19