Search を使うには、以下を行います。
To open the Search window:
From the Unity menu:
Choose Edit > Search All.
ショートカット
ショートカット | 機能 |
---|---|
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.
ほとんどの検索クエリでは、Search All ウィンドウと、プロジェクトで作成されたデフォルトのアセットインデックスを使用すると、コンテンツを効率的に見つけることができます。
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:
プロバイダー | 機能 | 検索トークン | 例: |
---|---|---|---|
Project | プロジェクトアセットを検索します。 |
p: (“project” の頭文字) |
p:Player “Player” という用語に一致するアセットを検索します。 |
Hierarchy | シーン内のゲームオブジェクトを検索します。 |
h: (“hierarchy” の頭文字) |
h:Main Camera 現在のシーンで “Main Camera” という用語に一致するゲームオブジェクトを検索します。 |
Settings | Searches all Project Settings and Preferences. | set: |
set:VFX “VFX” という用語に一致する、プロジェクト設定と環境設定のページを検索します。 |
Menus | Unity のメインメニューを検索します。 | m: |
m:TextMesh Pro Unity のメインメニューで “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:
プロバイダー | 機能 | 検索トークン | 例: | |
---|---|---|---|---|
Help | Searches the Quick Search help. | ? |
?asset Searches for Search help entries containing the word “Asset”. |
|
Calculator | 数式を計算します。 | = |
=2*3+29/2 2*3+29/2 という式 の答えを計算します。 |
|
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 | 静的APIメソッドを検索し、実行します。 | # |
#Mesh 名前に “Mesh” が含まれる静的 API メソッドを検索します。 |
|
Packages | Unity パッケージのデータベースを検索します。 | pkg: |
pkg:vector Unity パッケージのデータベースで “vector” という用語に一致するパッケージを検索します。 |
|
Asset Store | Unity Asset Store を検索します。 | store: |
store:texture Unity Asset Store で、“texture” という用語にマッチするアセットを検索します。 |
|
Saved Queries | 保存されたクエリーを検索します。 | q: |
q:enemies Searches all saved searches containing the word “enemies”. |
|
Logs |
Editor.log ファイルを検索します。 |
log: |
log:cache Editor.log ファイルで “cache” に一致する情報を検索します。 |
Alt + ↑ (上矢印) と ↓ (下矢印) で検索履歴を循環させたり、左ペインから保存した検索を選択します。
After you search, you can perform actions on the items Search returns in the Preview Inspector pane or through More Options (⋮) on the item in the result list. The actions you can perform depend on the type of item.
例えば、Search がパッケージを返した場合、それをインストール/アンインストールすることができます。Search がアセットを返した場合、Hierarchy ウィンドウでそれを選択したり、開いたり、ハイライトしたりすることができます。
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.
すべての種類のアイテムには、デフォルトのアクションがあります。
あるアイテムのデフォルトアクションを実行するには、以下のいずれかを行います。
Note: You can edit the default actions in the Search section of the Preferences page.
いくつかのアイテムは、プレビューインスペクターメニューからアクセスする追加アクションをサポートしています。
アイテムの追加アクションのコンテキストメニューにアクセスするには、以下のいずれかを実行します。
また、以下のショートカットを使えば、コンテキストメニューを開かずに、選択したアイテムに対して追加の操作を行うことができます。
ショートカット | 機能 |
---|---|
Alt + Enter | 2 番目のアクション |
Alt + Ctrl + Enter | 3 番目のアクション |
Alt + Ctrl + Shift + Enter | 4 番目のアクション |
一部の検索プロバイダー (例えば、Asset と Scene プロバイダー) は、ドラッグアンドドロップアクションをサポートします。結果エリアから、Hierarchy ウィンドウ、Scene ビュー、Inspector など、アイテムをサポートする Unity の任意の場所にドラッグすることができます。
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.