Each type of search has its own Search Provider. A Search Provider allows you to search and filter content. Each Search Provider has a unique search token. A search token is a text string that you can use in the search field to search using only a specific Search Provider.
By default, all searches use Project, Hierarchy, and Settings Search Providers unless you exclude them.
Search provides additional opt-in Search Providers. Search ignores opt-in Search Providers unless you explicitly use them. Opt-in Search Providers differ from default Search Providers in the following ways:
You can only execute them using their search tokens. You cannot combine an opt-in Search Provider with any other Search Provider.
To perform a search using all default Search Providers, enter the search terms in the search field. Results appear as you type.
To perform a search using an opt-in Search Provider, prefix the search terms with the Search Provider’s search token.
Open the More(⋮) menu to view a list of Search Providers and their prefixes.
| Provider: | 功能: | Search token: | 示例: | 
|---|---|---|---|
| Project | Searches Project Assets. | p:(for “project”) | p:PlayerSearches for Assets that match the term “Player”. | 
| Hierarchy | Searches GameObjects in the Scene. | h:(for “hierarchy”) | h:Main CameraSearches the current Scene for GameObjects that match the term “Main Camera”. | 
| Settings | Searches all Project Settings and Preferences. | set: | set:VFXFinds Project Settings and Preferences pages that match the term “VFX”. | 
| Provider: | 功能: | Search token: | 示例: | |
|---|---|---|---|---|
| Expression | This token is not required. Search expressions are recognized without a token. | |||
| Menus | Searches the Unity main menu. | m: | m:TextMesh ProSearches the Unity main menu for commands that contain “TextMesh Pro.” | |
| Asset Database | Searches the AssetDatabase. This is useful when searching the Editor resource bundle (containing all icons/resources used to build the editor) because those binary resources are not indexed. | adb: | ||
| Help | Searches the help. | ? | ?assetSearches for help entries containing the word “Asset”. | |
| Calculator | Computes mathematical expressions. | = | =2*3+29/2Calculates the answer to the expression 2*3+29/2. | |
| Files | Searches for files | find: | find:Paint MatSearches for all assets paths containing the words paint AND the word mat (e.g.: PaintBrush_Mat.mat, DryWallPainted_Mat.mat) | |
| Static API Method | Finds and executes static API methods. | # | #MeshSearches for static API methods with “Mesh” in their names. | |
| Packages | Searches the Unity package database. | pkg: | pkg:vectorSearches the Unity package database for packages that match the term “vector”. | |
| Asset Store | Searches the Unity Asset Store. | store: | store:textureSearches the Unity Asset Store for Assets that match the term “texture”. | |
| 性能 | Searches all the performance trackers available in Unity. This is useful for searching for performance bottlenecks. | performance: | ||
| Saved Queries | Searches for saved queries | q: | q:enemiesSearches all Search Query assets containing the word enemies. | |
| Logs | Searches the Editor.logfile | log: | log:cacheSearches the Editor.logfile for information that matches “cache”. | 
You can also create your own Search Providers.
You can exclude specific Search Providers from a regular search. To exclude a provider, do one of the following: