Version: 2022.1
Features (detail) view
包列表上下文

Finding packages and feature sets

The Package Manager window provides several ways to help you find a specific package or feature set:

在 Package Manager 窗口的顶部,有几个控件可帮助您缩小包列表的范围
在 Package Manager 窗口的顶部,有几个控件可帮助您缩小包列表的范围
(A) Packages 列表上下文 Choose the “context” that determines what appears in the list. The context might be the source of the package, such as a registry server, the Asset Store, or the Unity Editor itself (for built-in packages). However, the In Project context displays only those packages and feature sets that are already installed in the current project, regardless of their origin.

For example, you can choose the My Assets context to display only Asset Store packages available to you in the list, or choose the In Project context to display only Unity packages and feature sets that are already installed in your project.
(B) Sort Sort the list in either ascending or descending order by name, published date (Unity Registry, My Registries, In Project only), purchased date (Asset Store packages only), or recently updated (In Project and My Assets only).

For example, if you want to find a Unity package that had a recent update but you can’t remember the name of it, try sorting by Recently updated in descending order and browse the list from the top down to find it.

Sorting affects the items under each expander, but leaves the expanders in place. If you sort from Z-A, the Package Manager reorders all the feature sets from Z- A inside its expander, and all the packages under each expander but doesn’t mix the content in the list.
(C) Filters Select options to narrow down the packages listed. Packages listed in My Assets have enhanced filtering options:

- Status (Downloaded, Update available, Unlabeled, Hidden, Deprecated)
- Categories (2D, 3D, Audio, Templates, Tools, etc.)
- Labels (Custom labels you define in the Asset Store)
(D) 搜索 使用搜索框按名称查找 Unity 包或 Asset Store 资源包。

These controls help narrow down which packages and feature sets appear in the list view and in what order. This makes it easier to find what you are looking for or help you browse when you don’t know exactly what you want.

当您同时使用多个控件时,可以缩小列表中显示的匹配集。

After you find the Unity package you need, then you can locate a specific version from the list. For feature sets, there is always only one version available, so you can either install it or remove it.

查找特定版本

要查找某个特定的包版本,请执行以下操作:

1.在 Unity 中,打开 Package Manager 窗口(导航到 Unity 的主菜单,然后选择 Window > Package Manager)。

  1. If you are looking for a pre-release package, follow these steps:

    • Select Project Settings under the advanced settings icon.

      Project Settings opens the Package Manager project settings window
      Project Settings opens the Package Manager project settings window

      The Package Manager Project Settings window appears.

    • Under the Advanced Settings group, enable the Enable Pre-release Packages option.

    • Close the Project Settings window. Any pre-release packages now appear in the list with the indicator.

3.您可以浏览包列表或使用以下方法之一查找特定包:

* 按名称或关键字[搜索包](upm-ui-search.html)。
* [对列表进行排序](upm-ui-sort.html)(例如,按上次更新时间降序排序,以查找最近更新的包)。
* [Apply filters](upm-ui-filter2.html) to the list.

4.在包列表中,单击包名称左侧的展开箭头图标。

![__Currently installed__ and __Recommended__ are the only versions available](../uploads/Main/upm-ui-update-list.png)

**Note**: If you see the __See other versions__ link after expanding the package, you can click it to see the list of all available versions for that package.
  1. Select any version to see the details specific to that version.

    The version appearing in the details pane and on the Update button match the selected version in the list
    The version appearing in the details pane and on the Update button match the selected version in the list
  2. You can perform a variety of actions when you select a specific version:

    • 可以单击 View documentation 链接以打开与该版本匹配的文档
    • 可以单击 View changelog 链接以查看在创建包之后直至此版本期间进行的更改的列表。
    • 可以单击 View licenses 链接以查看此包专门针对此版本的任何许可证信息。
    • 可以查看此包是否依赖其他任何包,或者是否有任何其他包依赖此包。
    • 如果此包已安装且包含示例资源,则可以单击 Import 按钮以将其副本保存在项目的 Assets 文件夹下面。
    • If you don’t already have this package installed in your project, you can install this version.
    • If another version of this package is already installed in your project, you can update the package to this version.
    • If you installed this package in your project but don’t want it anymore, you can remove the package from your project.


Features (detail) view
包列表上下文