Legacy Documentation: Version 5.5
2D and 3D Mode Settings
Build Settings

Preferences

Unity provides a number of preference settings to allow you to customise the behaviour of the Unity Editor. To access them, go to Unity > Preferences (on macOS) or Edit > Preferences… (Windows).

General

Setting Properties
Auto Refresh Check this box to update Assets automatically as they change.
Load Previous Project on Startup Check this box to always load the previous project at startup.
Compress Assets on Import Check this box to automatically compress Assets during import.
OSX Color Picker (macOS) Check this box to use the native macOS color picker instead of Unity’s own.
Disable Editor Analytics (Pro only) Check this box to stop the Editor automatically sending information back to Unity.
Show Asset Store search hits Check this box to show the number of free/paid Assets from the Asset Store in the Project Browser.
Verify Saving Assets Check this box if you wish to verify which Assets to save individually on quitting Unity.
Editor Skin (Plus/Pro only) Select the drop-down to choose which skin to apply to the Unity Editor. Choose Personal for light grey with black text, or Professional for dark grey with white text.
Enable Alpha Numeric Sorting Check this box to enable a new button in the top-right corner of the Hierarchy window, allowing you to switch between Transform sort (which is the default behaviour) and Alphanumeric sort.

External tools

Setting Properties
External Script Editor Select which application Unity should use to open script files. Unity automatically passes the correct arguments to script editors it has built-in support for. Unity has built-in support for MonoDevelop, Xamarin Studio, Visual Studio (Express) and Visual Studio Code.
External Script Editor Args Select which arguments to pass to the external script editor.
$(File) is replaced with a path to a file being opened.
$(Line) is replaced with a line number that editor should jump to.
$(ProjectPath) is replaced with the path to the open project.
If not set on macOS, then the default mechanism for opening files is used. Otherwise, the external script editor is only launched with the arguments without trying to open the script file using the default mechanism.
See below for examples of external script editor arguments.
Add .unityproj’s to .sln Check this box to add UnityScript (.unityproj) projects to the generated solution (.sln) file. This is enabled by default for MonoDevelop and Xamarin Studio, and disabled by default for Visual Studio (Express) and Visual Studio Code.
Editor Attaching Check this box to allow debugging of scripts in the Unity Editor. If this option is disabled, it is not possible to attach a script debugger to Unity to debug your scripts.
Image application Choose which application you want Unity to use to open image files.
Revision Control Diff/Merge Choose which application you want Unity to use to resolve file differences with the Asset server. Unity detects these tools in their default installation locations (and checks registry keys for TortoiseMerge, WinMerge, PlasticSCM Merge, and Beyond Compare 4 on Windows).

Examples of script editor arguments

  • Gvim/Vim: --remote-tab-silent +$(Line) "$File"
  • Notepad2: -g $(Line) "$(File)"
  • Sublime Text 2: "$(File)":$(Line)
  • Notepad++: -n$(Line) "$(File)"

Colors

This panel allows you to choose the colors that Unity uses when displaying various user interface elements.

Keys

This panel allows you to set the keystrokes that activate the various commands in Unity.

GI Cache

Setting Properties
Maximum Cache Size (GB) Use the slider to set the maximum GI cache folder size. The GI cache folder will be kept below this size whenever possible. Unused files are periodically deleted to create more space. This is carried out by the Editor automatically, and doesn’t require you to do anything.
Custom cache location Check this box to allow a custom location for the GI cache folder. The cache folder will be shared between all projects.
Cache compression Check this box to enable a fast real-time compression of the GI Cache files, to reduce the size of the generated data. If you need to access the raw Enlighten data, disable Cache Compression and clean the cache.
Clean Cache Use this button to clear the cache directory.

2D

Setting Properties
Maximum Sprite Atlas Cache Size (GB) Use the slider to set the maximum sprite atlas cache folder size. The sprite atlas cache folder will be kept below this size whenever possible.

Cache Server

Setting Properties
Use Cache Server Check this box to use a dedicated cache server.
IP Address Enter the IP address of the dedicated cache server here, if enabled.
2D and 3D Mode Settings
Build Settings
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961