Version: 2017.2
2D 和 3D 模式设置
Build Settings

偏好设置

Unity 提供了许多偏好设置以用于自定义 Unity Editor 的行为。要访问这些设置,请选择 Unity > Preferences (macOS) 或 Edit > Preferences… (Windows)。

General

设置 属性
Auto Refresh 选中此框可在资源更改时自动更新资源。
Load Previous Project on Startup 选中此框可始终在启动时加载上一个项目。
Compress Assets on Import 选中此框可在导入期间自动压缩资源。
OSX Color Picker (macOS) 选中此框可使用原生 macOS 拾色器而不是 Unity 自己的拾色器。
Disable Editor Analytics (Pro only) 选中此框可禁止 Editor 自动将信息发送回 Unity。
Show Asset Store search hits 选中此框可在 Project Browser 中显示 Asset Store 中的免费/付费资源数量。
Verify Saving Assets 如果要在退出 Unity 时单独验证要保存的资源,请选中此框。
Editor Skin__(仅限 Plus/Pro)|从下拉选单中选择要应用于 Unity Editor 的皮肤。选择 Personal__(浅灰色与黑色文本)或 Professional__(深灰色与白色文本)。| |Enable Alpha Numeric Sorting __ 选中此框可在 Hierarchy 窗口的右上角启用一个新按钮,允许在变换排序(这是默认行为)和字母数字排序之间切换。

External tools

设置 属性
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 选中此框可将 UnityScript (.unityproj) 项目添加到生成的解决方案 (.sln) 文件中。对于 MonoDevelop 和 Xamarin Studio,默认情况下启用此功能,而对于 Visual Studio (Express) 和 Visual Studio Code,默认情况下禁用此功能。
Editor Attaching 选中此框允许在 Unity Editor 中调试脚本。如果禁用此选项,则无法将脚本调试器附加到 Unity 来调试脚本。
Image application 选择希望 Unity 使用哪个应用程序来打开图像文件。
Revision Control Diff/Merge 选择希望 Unity 使用哪个应用程序来解决与 Asset Server 的文件差异。Unity 在工具的默认安装位置检测这些工具(并在 Windows 上检查 TortoiseMerge、WinMerge、PlasticSCM Merge 和 Beyond Compare 4 的注册表项)。

脚本编辑器参数示例

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

Colors

此面板允许选择 Unity 在显示各种用户界面元素时使用的颜色。

Keys

此面板允许设置在 Unity 中激活各种命令的击键。

GI Cache

设置 属性
Maximum Cache Size (GB) 使用滑动条来设置最大的 GI 缓存文件夹大小。GI 缓存文件夹将尽可能保持在此大小以下。系统会定期删除未使用的文件以创建更多空间。这是由 Editor 自动执行的,不需要您执行任何操作。
Custom cache location 选中此框允许设置 GI 缓存文件夹的自定义位置。缓存文件夹将在所有项目之间共享。
Cache compression 选中此框可快速实时压缩 GI 缓存文件,从而减小生成数据的大小。如果需要访问原始 Enlighten 数据,请禁用 Cache Compression 并清除缓存。
Clean Cache 使用此按钮可清除缓存目录。

2D

设置 属性
Maximum Sprite Atlas Cache Size (GB) 使用滑动条来设置最大的精灵图集缓存文件夹大小。精灵图集缓存文件夹将尽可能保持在此大小以下。

Cache Server

设置 属性
Use Cache Server 选中此框可使用专用的缓存服务器。
IP Address 如果启用此功能,请在此处输入专用缓存服务器的 IP 地址。
2D 和 3D 模式设置
Build Settings
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961