Version: 2020.3
导入
Built-in Importers

Supported Asset Types

Unity supports many different types of assets.

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

Listed below are some of the more common types of asset that you might want to use when getting started with Unity, and links to find out more about how to work with them.

Commonly used asset types

Type 描述
3D Model Files As Unity supports the FBX file format, 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.
Image files Image files are imported 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.
Audio files 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 will apply the compression settings specified in your import settings. Read more about importing audio files.
Text, HTML, XML, JSON Unity can import arbitrary data from files, allowing you to store and use data from external sources. These are all handled by the Text Asset Importer.
Plug-ins and code-related assets 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.
Native Assets There are a range of asset types which 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 窗口获取。有关常规资源包的更多信息,请参阅资源包文档。

Reusing assets between projects

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

导入
Built-in Importers