文档

Unity Engine

Download Unity

Unity Engine

Search box

Reference for how search matches text and how each list context scopes results.
阅读时间3 分钟最后更新于 2 个月前

Use the search box at the top of the list panel in the Package Manager window to find any packages, feature sets, or samples that match the text you enter.
The Package Manager window updates the list as you enter search text, displaying every matching package, feature set, or sample for the context you selected in the navigation panel.
注意
You can search for Unity packages and feature sets, Asset Store packages, and samples. The list context you choose defines where the Package Manager searches:

List context

Where the Package Manager searches

All PackagesFeature sets and packages installed in your project. Includes local, git, and embedded packages, and packages installed from any registry. Also includes any packages from the Asset Store that you added from the My Assets context.
UpdatesThe list of packages that have updates to apply.
All SamplesAll available samples from the packages installed in your project, not just the ones you imported.
Errors and WarningsThe list of packages with issues.
Unity RegistryThe list of packages and feature sets on the Unity registry.
My AssetsThe list of Asset Store packages available with your Unity account.
Built-inThe list of built-in packages on the Unity registry.
ServicesThe list of integrated services you can install.
My RegistriesAny scoped registry defined for your project.
重要
The Package Manager window recalls your search terms on a per-context basis. For example, if you set a search term in All Packages, the Package Manager window filters that list. If you then select any other context, the Package Manager window resets the search and lists all packages for that context. But if you then return to All Packages, the Package Manager window restores your search term and filters the All Packages list again.
To illustrate this per-context search scope further, if you enter the same search term in separate contexts, you will get different results. For example, if you choose the Unity Registry context then type
web
in the search box, the results will be different if you then choose the Built-in context and search for the same term:

Searching for the same term in separate contexts yields different results

You can search for a package or a feature set either by:
You can search for a sample using the following fields:
  • Its display name (as it appears at the top of the details panel for samples).
  • Its description (as it appears in the details panel).
  • The display name of the package that hosts the sample.
  • The technical name of the package that hosts the sample.
  • The author of the package that hosts the sample.
Your search text can match the beginning, middle, or end of the string. The Package Manager window updates the list dynamically.

Additional resources