Unity说明文档翻译-Preset Libraries

本文档介绍了Unity的预设库功能,包括如何创建颜色预设、预设库的工作原理以及如何在项目中管理和共享预设。用户可以保存颜色、渐变或动画曲线,并将预设库存储在用户偏好设置或项目文件夹中,便于版本控制和团队共享。
摘要由CSDN通过智能技术生成

Preset Libraries

预设库

Preset Libraries contain user created data and persist between sessions. They are integrated into the Color Picker, Gradient Editor and Curve Editors.

预设库包含用户创建的数据和保存的会话.它们与颜色选择器,渐变编辑器和曲线编辑器结合.

· A preset is e.g a color, gradient or an animation curve that is saved by the user.

· 预设是用户保存的诸如颜色,渐变或动画曲线.

· A preset library is a collection of presets saved into one file.

· 预设库是保存预设的一个容器文件.

· Preset libraries contain personal data or project data. They can be saved either in the user preferences folder or in a ‘Editor’ folder in the Assets folder. Project preset libraries can then be added to revision control for easy sharing between users on a project and added to Asset Store packages.

· 预设库包含个人数据或项目数据.它们可以保存到用户预定义文件夹或系统在资源文件夹创建的文件夹内.项目预设库可以添加版次控制以便在用户间共享和添加到资源商店包.

How to create a color preset:

如何创建一个颜色预设:

1.Click on a color field. E.g select Main Camera in the Hierarchy, then click on Background Color

         点击颜色框内.比如在层级窗口选择主摄像机,然后点击背景色选取一个你喜欢的颜色.

2.Adjust a color to your liking

调整颜色为你喜欢的.

3.At the bottom you will find the Presets section

在底部你将看到预设部分.

4.Simply click the button to add the current color to the current preset library

简单的点击按钮添加当前颜色到当前预设库.

5.The context menu (the icon with the three lines)

快捷菜单(带有三条横线的图标)

u You can switch view mode between List Mode and Grid Mode in the context menu (the three lines icon)

在快捷菜单内你可以在列表模式和网格模式间切换视图模式.

u Select between available preset libraries

在可用预设库间选择.

u Create new library

创建新库

u In the Create New Library popup you can select whether to create a preset library in the Preferences folder or the Project folder

在创建新库弹出菜单上你可以选择创建预设库到预定义文件夹还是项目文件夹内.

u Show current library in the OS file explorer/finder

在系统文件管理系统上显现当前库.

6.Presets can be reordered by dragging

预设可以通过拖拽来排列.

7.Presets can be deleted by Alt + Left mouse button or by the right click menu

预设可以通过按alt+左键或右键菜单删除.

8.Preset can be renamed from the right click menu (note names are only shown in List Mode)

预设可以通过右键菜单重命名(注意名称只能在列表模式显示)

Selecting a preset library in the project browser will show its contents in the inspector. From here “Edit..” can be clicked to modify.

在项目浏览器内选定一个预设库将在检视面板上显示它的内容.可以通过点击这里的编辑...来修改.

Note: The description above shows the standard Unity Color Picker. There is an option inPreferences which allows you to use the OS X Color picker instead.

注意:上面的介绍演示的是标准Unity颜色选择器.在首选项上有一个选项允许你使用OS X系统上的颜色选择器来替代.

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值