Unity は、保存された情報のほとんどを、シーンの変更 と プロジェクト全体の変更 に分類します。
ノート: プレハブモード で編集している場合、File > Save から保存すると、開いているプレハブにのみ変更が保存されます。より広い変更を保存するにはプレハブモードを終了してください。
エディターでの作業中に、Unity は一部の情報を自動的に保存します。詳細は下記の 自動保存 を参照してください。
シーンの変更には、シーン内のゲームオブジェクトの修正が含まれます。以下はその例です。
Unity では、プロジェクト全体の変更は、特定のシーンではなくプロジェクト全体に適用されます。例えば、変更をテストするために一時的なシーンを作成した場合、シーンではなくプロジェクトを保存することができます。
プロジェクト全体の変更には以下が含まれます。
Project Settings: プロジェクトを保存すると、Unity は、Project Settings の変更を Library
フォルダー内の以下のファイルに保存します。
InputManager.asset
TagManager.asset
AudioManager.asset
TimeManager.asset
ProjectSettings.asset
DynamicsManager.asset
Physics2DSettings.asset
QualitySettings.asset
GraphicsSettings.asset
NetworkManager.asset
EditorUserSettings.asset
Build Settings: Unity は、Build Settings の変更を EditorBuildSettings.asset として Library
フォルダーに保存します。
変更されたアセット: プロジェクト全体の設定を保存すると、Unity は全ての未保存のアセットを保存します。
ノート: アセットのタイプによっては、Inspector に Apply (適用) ボタンがあります。Apply を選択しない限り、Unity はこれらを保存しません。
ダーティアセット: Unityは Dirty (ダーティ) なアセットを保存します。これは、ディスク上にある、ソフトウェア内で修正されてまだ保存されていないファイルです。カスタムエディター と スクリプト を使用して、以下のいずれかの方法でアセットを Dirty としてマークできます。
Unity は、以下の変更を自動的にディスクに保存します。
.meta
ファイル内に保存します。Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.