1.2 Setting your preferences
1.2 设置首选项
Setting the editor to your preferences might sound superfluous to some. However, it could accelerate your development process and make Unity even more comfortable to use. In this recipe, we will learn how to adjust some of those settings to your taste.
将编辑器设置成你习惯(首选项)的样子也许听起来有点多余。然而,这种行为可以提升你的开发速度并且让unity使用起来更加舒适,我们将学习如何根据你的喜好去调整这些首选项设置
How to do it (如何去做)
To adjust Unity's preferences, follow these steps:
去调整unity的首选项设置,有如下几个步骤:
1.Inside the Unity editor, navigate to Edit | Preferences... (or, if you are using Mac OS,Unity | Preferences…).
在unity编辑器中,选中Edit(编辑)/Preferences(首选项),如果你用的是Mac OS版本,则选择unity/Preferences(首选项)。
2. As the Preferences window shows up, notice that it is divided into these sections:
General, External Tools, Colors, Keys, and Cache Server.
如Preferences窗口所示,注意该窗口分为如下几个部分:
Genera(常规)l, External Tools(外部工具), Colors(颜色), Keys(键位), and Cache Server(缓存服务器),具体如下图(unity5版本会多出一些设置选择,下图为unity5)。
3. Select the General tab. If you're working with multiple projects, you might want to leave the Always Show Project Wizard option checked.
选择General,如果你准备要处理多个项目,你可以勾选Always Show Project Wizard选项
4. Also, if you use OS X and are used to its native color picker, leave the OSX Color Picker option checked.
如果你用的是OS X并且习惯了他的Native Color拾取器,可以勾选OSX Color Picker选项
5. Now select the External Tools tab. In case you want to use a different script editor than Unity's built-in MonoDevelop, you can use the drop-down menu in External Script Editor to browse to your favorite application.
现在选择外部工具,如果你想用不同的脚本编辑器而不是用unity自带的MonoDevelop,可以下拉External Script Editor菜单,浏览并选取你想要的开发环境(重要!如下图)
6. If Image Application is set as Open by File Extension, you might end up working with several image editors simultaneously. To avoid that, use the drop-down menu to browse to your favorite software.
如果Image Application设置为Open by File Extension状态,你结束操作时,多个图像编辑器会同时结束。为了避免那种情况,选择下拉餐单,浏览你并选取你喜欢的软件
7. Also, if you happen to develop to Android, make sure to browse to the SDK in Android SDK Location.
如果你要着手开发安卓平台的游戏,浏览并确保SDK处于Android SDK Location状态下
8. Let's move on to Colors tab. The default settings are fine, but feel free to change colors that make you most comfortable.
让我们转向Colors,默认的设置已经很棒了,你也可以为了更舒适去改变它
9. Now select the Keys tab. You might select any action to change its shortcut. Again,the default settings are perfectly fine. Use this opportunity to learn more about them.
现在选择Keys面板,不要去进行任何修改快捷键的操作。重复一遍,目前的默认设置是最完美的,你在这个面板里要去学习更多的快捷键相关内容
Changing the editor's player quality settings
改变编辑器的游戏质量设定
Depending on your target platform, you might want to adjust the level of graphical quality of your game. This can be done through Quality Settings, which controls, for instance, the resolution of real-time shadows, or how much anti aliasing will be applied. Those options(and much more) are organized in levels that range from Fastest to Fantastic. If you want to experience a particular quality setting when running your game from the Editor, navigate to Edit | Project Settings | Quality and select it from the table in the Inspector view.
根据你选择的目标平台,你可能想调节你的游戏的画面质量级别。这可以通过Quality Settings设置来完成,这个功能主要调节实时阴影效果、画面抗锯齿效果等,诸如此类的选项被分成从Fastest 到 Fantastic几个级别(如下图)
如果在编辑器运行游戏时,你想体验一下这些设定的具体效果,选择Edit (编辑)| Project Settings | Quality 并在检视面板中进行具体的选择。