Version: 2022.3
LanguageEnglish
  • C#

EditorSettings.prefabModeAllowAutoSave

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static bool prefabModeAllowAutoSave;

Description

Allow Auto Save in Prefab Mode for this project.

When enabled, an Auto Save toggle is displayed in Prefab Mode which you can turn on or off. This is the default. When disabled, there is no Auto Save in Prefab Mode in this project and the toggle is not displayed.

Auto Save can often be convenient and save some clicks, but it may not provide a good experience in cases where saving takes a long time. If there are many such cases in a project, and it is decided that no one working on the project should be using Auto Save, then you can help ensure this by disabling this project setting. It prevents enabling Auto Save by accident, or due to having enabled it while working on a different project.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961