Version: 2020.2
Creating your own Asset packages
The Asset Database

Importing local Asset packages

Most of the time, the Asset packagesA collection of files and data from Unity projects, or elements of projects, which are compressed and stored in one file, similar to Zip files, with the .unitypackage extension. Asset packages are a handy way of sharing and re-using Unity projects and collections of assets. More info
See in Glossary
you use in Unity come directly from the Asset StoreA growing library of free and commercial assets created by Unity and members of the community. Offers a wide variety of assets, from textures, models and animations to whole project examples, tutorials and Editor extensions. More info
See in Glossary
, and you import them in the Package Manager window. However, if you have a .unitypackage file saved locally, for example, because you created your own custom Asset package, you can import it into your project in the Unity Editor through the AssetsAny media or data that can be used in your game or project. An asset may come from a file created outside of Unity, such as a 3D Model, an audio file or an image. You can also create some asset types in Unity, such as an Animator Controller, an Audio Mixer or a Render Texture. More info
See in Glossary
menu.

To import a local Asset package in Unity:

  1. Open the project in the Editor where you want to import the Asset package.

  2. Choose Assets > Import Package > Custom Package. A file browser appears, prompting you to locate the .unitypackage file.

  3. In the file browser, select the file you want to import and click Open.

    The Import Unity Package window displays all the items in the package already selected, ready to install.

    New install Import Unity Package dialog box
    New install Import Unity Package dialog box
  4. Deselect any items you don’t want to import and click Import. Unity puts the contents of the imported Asset package into the Assets folder, so that you can access them from your Project windowA window that shows the contents of your Assets folder (Project tab) More info
    See in Glossary
    .


Creating your own Asset packages
The Asset Database
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961