Version: 2022.1
Importing assets simultaneously
内置导入器

支持的资源类型

Unity supports many different types of assets and most common image file types, including BMP, TIFF, TGA, JPG, and PSD.

If you save layered Photoshop (.psd) files in your Assets folder, Unity imports them as flattened images. You can find out more about importing images as textures, or importing images as sprites.

For the full list of Unity’s built-in importers, supported file types and supported filename extensions, see Built-in importers.

下面列出了您在开始使用 Unity 时可能想要使用的一些更常见的资源类型,以及进一步了解如何使用的链接。

常用的资源类型

Type 描述
3D 模型文件 Unity supports the FBX file format, which means that you can import data from any 3D modeling software that supports FBX. Unity also natively supports importing SketchUp files. For a list of 3D modeling software that Unity supports, see Model file formats.

3D Model files can contain many types of asset, such as meshes, animation, materials and textures.

For more information about importing 3D model files, see Importing Models.

Unity also supports SketchUp and SpeedTree formats.
图像文件 Unity imports image files as textures. Unity supports most common image file types, such as BMP, TIF, TGA, JPG, and PSD. If you save your layered Photoshop (.psd) files in your Assets folder, Unity imports them as flattened images. Read more about importing textures.
** 音频文件|Unity supports many audio file formats. It’s generally best to import uncompressed audio file formats such as .wav or .aiff, because during import Unity applies the compression settings specified in your import settings. Read more about importing audio files.| |Text、HTML、XML、JSON|Unity 可以从文件中导入任意数据,允许您存储和使用来自外部源的数据。这些都由文本资产导入器 处理。| |插件和与代码相关的资源|You can drop managed and native plug-ins into your Unity project as assets (such as .dll files) to expand the functionality of your game or app. Unity also supports assembly definitions to help you create and organize your scripts into assemblies.| |本机资源** There are a range of asset types that are native to the Unity Editor. You can create assets of these types using Editor features. When you create these, Unity saves the files which represent them as asset files in the Assets folder of your project.

These include animations, curves, gradients, masks, materials, and presets. For the full list, see the NativeFormatImporter type in the Built-in Importer list below.

Unity Package Manager 中的资源

通过 Unity Package Manager (UPM) 可将各种资源(包括插件、工具和库)直接安装到 Unity 中。这些是新的资源包类型,可通过 Package Manager 窗口获取。有关常规资源包的更多信息,请参阅资源包文档。

在项目之间重用资源

在构建游戏时,Unity 会存储有关资源的大量元数据,例如导入设置、其他资源的链接以及其他信息。如果要将资源转移到其他项目并保留所有此类信息,可将资源导出到以下容器之一:

Importing assets simultaneously
内置导入器
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961