Unity说明文档翻译-Import Settings

来源:互联网 发布:数据库一致性错误 编辑:程序博客网 时间:2024/04/28 20:44

Import Settings

导入设置

Each type of asset that Unity supports has a set of Import Settings, which affect how the asset appears or behaves. To view an assets import settings, select the asset in the Project View. The import settings for this asset will appear in the Inspector. The options that are displayed will vary depending on the type of asset that is selected.

任何Unity支持的资源都有导入设置,他将会影响资源的显示和表现.要查看资源导入设置可在项目视图选择资源查看.此时资源导入设置将会显示在检视视图上.显示的选项根据资源的不同而有所不同.

For example, the import settings for an image will allow you to choose whether its imported as a texture, a 2D sprite, or a normal map. The import settings for an FBX file allow you to adjust the scale, generate normals or lightmap coordinates, and split & trim animation clips defined in the file.

例如,图片导入设置将允许你选择它是作为贴图,2D精灵或者是一个标准图片导入.FBX文件导入设置允许你改变大小,生成通用或光照图坐标,分割和修饰文件中定义的动画剪辑.

Clicking on an image asset in the Project Window shows the import settings for that asset in the Inspector

在项目窗口中点击一张图片资源将在检视面板显示资源导入设置.

For other asset types, the import settings will look different. The various settings you see will relate to the type of asset selected. Heres an example of an Audio asset, with its related import settings shown in the inspector.

对于其他种类资源,导入设置将有所不同.各种不同设定和所选资源种类相关.下图是一个声音资源以及显示在检视面板上和它相关的导入设置.

An Audio asset selected in the Project Window shows the Audio import settings for that asset in the Inspector

在项目窗口选择一个声音资源,在检视面板显示它的导入设置.

If you are developing a cross-platform project, you can override thedefault settings and assign different import settings on a per-platform basis.

如果你正在开发一个款平台项目,你可能会覆盖默认设置而在每个平台指派不同的导入设置.

 

0 0
原创粉丝点击