To use Search, do the following:
To open the Search window:
From the Unity menu:
Choose Edit > Search All.
Shortcut:
Shortcut: | Function: |
---|---|
Ctrl + K | Open Search in the state it was in the last time you used it. - The last search term you used appears in the search field. - The last changes you made to the filter configuration are still in effect. |
Tip: You can change the keyboard shortcuts used to launch Search from the Shortcuts Manager.
To perform regular or special 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.
A regular search uses all regular Search Providers unless you exclude them.
To perform a regular search using all active Search Providers, enter the search terms in the search field. Results appear as you type.
To only display results for a specific Search Provider, prefix the search terms with the Search Provider’s 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.
Press the Tab key with your cursor in the Search field to view the regular search provider prefixes.
To mute Search Providers, see Persistent search filters
The following table lists regular Search Providers and their search tokens:
Provider: | Function: | Search token: | Example: |
---|---|---|---|
ProjectIn Unity, you use a project to design and develop a game. A project stores all of the files that are related to a game, such as the asset and Scene files. More info See in Glossary |
Searches Project Assets. |
p: (for “project”) |
p:Player Searches for Assets that match the term “Player”. |
Hierarchy | Searches GameObjects in the Scene. |
h: (for “hierarchy”) |
h:Main Camera Searches the current Scene for GameObjects that match the term “Main Camera”. |
Settings | Searches all Project SettingsA broad collection of settings which allow you to configure how Physics, Audio, Networking, Graphics, Input and many other areas of your project behave. More info See in Glossary and Preferences. |
set: |
set:VFX Finds Project Settings and Preferences pages that match the term “VFX”. |
Menus | Searches the Unity main menu. | m: |
m:TextMesh Pro Searches the Unity main menu for commands that contain “TextMesh Pro.” |
Note: If you create new search indexes in the Index Manager, they are also displayed in your More Options(:) menu.
A special search is opt-in: Search only uses special Search Providers when you perform a special search.
The following table lists special Search Providers and their search tokens:
Provider: | Function: | Search token: | Example: | |
---|---|---|---|---|
Help | Searches the Quick Search help. | ? |
?asset Searches for Search help entries containing the word “Asset”. |
|
Calculator | Computes mathematical expressions. | = |
=2*3+29/2 Calculates the answer to the expression 2*3+29/2 . |
|
Files | Searches for files | find: |
find:Paint Mat Searches for all assets paths containing the words paint AND the word mat (for example: PaintBrush_Mat.mat, DryWallPainted_Mat.mat) |
|
Static API | Finds and executes static API methods. | # |
#Mesh Searches for static API methods with “Mesh” in their names. |
|
PackagesPackages are collections of assets to be shared and re-used in Unity. The Unity Package Manager (UPM) can display, add, and remove packages from your project. These packages are native to the Unity Package Manager and provide a fundamental method of delivering Unity functionality. However, the Unity Package Manager can also display Asset Store packages that you downloaded from the Asset Store. More info See in Glossary |
Searches the Unity package database. | pkg: |
pkg:vector Searches the Unity package database for packages that match the term “vector”. |
|
Asset StoreA growing library of free and commercial assets created by Unity and members of the community. Offers a wide variety of assets, from textures, models and animations to whole project examples, tutorials and Editor extensions. More info See in Glossary |
Searches the Unity Asset Store. | store: |
store:texture Searches the Unity Asset Store for Assets that match the term “texture”. |
|
Saved Queries | Searches for saved queries | q: |
q:enemies Searches all saved searches containing the word “enemies”. |
|
Logs | Searches the Editor.log file |
log: |
log:cache Searches the Editor.log file for information that matches “cache”. |
Use Alt + ↑ (up arrow) and ↓ (down arrow) cycle through the search history, or choose a saved search from the left pane.
After you search, you can perform actions on the items Search returns in the Preview InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
See in Glossary
pane or through More Options (⋮) on the item in the result list. 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 pages for individual search filters in the Regular searches and Special searches sections.
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: | Function: |
---|---|
Alt + Enter | Second action |
Alt + Ctrl + Enter | Third action |
Alt + Ctrl + Shift + Enter | Fourth action |
Some Search Providers (for example, the AssetAny media or data that can be used in your game or project. An asset may come from a file created outside of Unity, such as a 3D Model, an audio file or an image. You can also create some asset types in Unity, such as an Animator Controller, an Audio Mixer or a Render Texture. More info
See in Glossary
and SceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary
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 viewAn interactive view into the world you are creating. You use the Scene View to select and position scenery, characters, cameras, lights, and all other types of Game Object. More info
See in Glossary
, or the Inspector.
When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.
More information
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising. Some 3rd party video providers do not allow video views without targeting cookies. If you are experiencing difficulty viewing a video, you will need to set your cookie preferences for targeting to yes if you wish to view videos from these providers. Unity does not control this.
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.