To use Search, do the following:
There are several ways to open the Search window:
Shortcuts:
Shortcut: | 功能: |
---|---|
Ctrl + K | Open Search |
Tip: You can change the keyboard shortcuts used to launch Search from the Shortcuts Manager.
Note: The last search term you used appears in the search field and the last changes you made to the filter configuration are still in effect.
To keep the window open after selecting a search item, select Keep Open from the More Options (:) menu.
To perform searches, type a query into the search field.
For most search queries, using the Search All window and the default Asset index created with your project will find your content effectively.
For more refined searches, use specific Search Providers and Search Expressions.
To include packages in your search, select Show package results from the More Options (:) menu.
Use Alt + ↑ (up arrow) and ↓ (down arrow) cycle through the search history, or choose a saved search from the left pane.
Use the sizing slider to change from a list to grid view with thumbnails, or use the List view icon, the Grid view icon, or the Table view icon in the bottom right of the Search window to change the search view.
Click the star next to a search result item to tag that item to appear at the top of the search list the next time you perform the same search to find it more easily.
To see the search time and the number of results at the bottom of the search window, select Show Status from the More Options (:) menu.
After you search, you can perform actions on the items Search returns in the Preview Inspector pane or through More Options (⋮) . The actions you can perform depend on the type of item.
For example, if Search returns a package, you can install/uninstall it. If Search returns an Asset, you can select, open, or highlight it in the Hierarchy window.
To find out which actions you can perform on different types of items, see the Search Provider pages for individual search filters.
Every type of item has a default action.
To perform the default action for an item do one of the following:
Note: You can edit the default actions in the Search section of the Preferences page.
Some items support additional actions that you access from the Preview Inspector menu.
To access the additional actions context menu for an item, do one of the following:
You can also use the following shortcuts to perform additional actions on a selected item without opening the contextual menu:
Shortcut: | 功能: |
---|---|
Alt + Enter | Second action |
Alt + Ctrl + Enter | Third action |
Alt + Ctrl + Shift + Enter | Fourth action |
Some Search Providers (for example, the Asset and Scene providers) support drag and drop actions. You can drag items from the results area to any part of Unity that supports them, for example, the Hierarchy window, the Scene view, or the Inspector.