Version: 2020.1
详细信息视图
Packages list context

查找包

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

At the top of the Package Manager window, there are several controls to help you narrow down the list of packages
At the top of the Package Manager window, there are several controls to help you narrow down the list of packages
(A) Packages list context Choose the “context” that determines which packages appear 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 that are already installed in the current project, regardless of their origin.

For example, you can choose the My Assets context to show only Asset Store packages available to you in the list, or choose the In Project context to show only Unity packages that are already installed in your project.
(B) Sort Sort the list of packages in either ascending or descending order by name, published date (Unity packages only), purchased date (Asset Store packages only), or update date.

For example, if you look for a Unity package that has a very recent update but can’t remember the name of it, try sorting by update date in descending order and browse the list from the top down to find it.
(C) Asset Store Filters Choose how to narrow down the list of Asset Store packages using these groups:

- Status (hidden, deprecated, no labels)
- Categories (2D, 3D, audio, templates, tools, etc.)
- Labels (custom labels you define in the Asset Store)
(D) Search Use the search box to look for a Unity package or an Asset Store package by name.

These controls help narrow down which packages 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.

When you use several of these controls at the same time, you narrow the set of matches that appears in the list.

After you find the package you need, then you can locate a specific version from the list.

查找特定版本

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

  1. In Unity, open the Package Manager window (navigate to Unity’s main menu and go to Window > Package Manager).

  2. If you are looking for a preview package, follow these steps:

    • Select Advanced Project Settings under the advanced settings icon.

      Show preview packages
      Show preview packages

      The Package Manager project settings window appears.

    • Under the Advanced Settings group, enable the Enable Preview Packages option.

    • Close the Project Settings window. Any preview packages now appear in the list with the indicator.

  3. Find the package you want in the packages list.

  4. Click the expander icon to the left of the package name in the list.

    Partially expanded list shows only the currently installed version, the recommended update, and the See other versions link
    Partially expanded list shows only the currently installed version, the recommended update, and the See other versions link

    If there are updates available, they appear above the See all versions link.

5.单击 See all versions 查看该包的所有可用版本列表。

此时将显示一个可滚动列表,其中包含所有可用版本。

![Expanded list shows all available versions](../uploads/Main/PackageManagerUI-AvailableVersions.png)
  1. Select any of these versions 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 链接以查看此包专门针对此版本的任何许可证信息。
    • You can see whether this package depends on any other packages, or whether any other packages depend on this one.
    • If this package is already installed and contains sample assets, you can click the Import button to save a copy of them under your project’s Assets folder.
    • 如果还没有安装此包,则可以安装此版本。
    • 如果已经安装了此包的另一个版本,则可以将此包更新到此版本。
    • 如果以前已经安装了此包,但是不想再使用,则可以删除此包。


详细信息视图
Packages list context