検索の種類によって、検索プロバイダーは異なります。検索プロバイダーはコンテンツの検索とフィルタリングを可能にします。各検索プロバイダーには一意の 検索トークン があります。検索トークンは、特定の検索プロバイダーだけを使用して検索するために、検索フィールドで使用するテキスト文字列です。
デフォルトでは、除外しない限り、すべての検索で Project、Hierarchy、Settings の検索プロバイダーが使用されます。
Search は、追加のオプトイン検索プロバイダーを提供します。明示的に使用しない限り、Search はオプトインの検索プロバイダーを無視します。オプトインの検索プロバイダーは、デフォルトの検索プロバイダーとは以下の点で異なります。
検索トークンを使ってのみ、それらを実行することができます。 オプトインの検索プロバイダーを他のSearch プロバイダーと組み合わせることはできません。
すべてのデフォルトの検索プロバイダーを使用して検索を実行するには、検索フィールドに検索語を入力します。入力したとおりに結果が表示されます。
オプトインの検索プロバイダーを使用して検索を行うには、検索プロバイダーの検索トークンを検索語の前に付けます。
More (⋮) メニューを開くと、検索プロバイダーのリストとそのプレフィックスを表示できます。
プロバイダー | 機能 | 検索トークン | 例: |
---|---|---|---|
Project | プロジェクトアセットを検索します。 |
p: (“project” の頭文字) |
p:Player “Player” という用語に一致するアセットを検索します。 |
Hierarchy | シーン内のゲームオブジェクトを検索します。 |
h: (“hierarchy” の頭文字) |
h:Main Camera 現在のシーンで “Main Camera” という用語に一致するゲームオブジェクトを検索します。 |
Settings | 全ての プロジェクト設定 と 環境設定 を検索します。 | set: |
set:VFX “VFX” という用語に一致する、プロジェクト設定と環境設定のページを検索します。 |
プロバイダー | 機能 | 検索トークン | 例: | |
---|---|---|---|---|
Expression | このトークンは必須ではありません。検索式はトークンなしで認識されます。 | |||
Menus | Unity のメインメニューを検索します。 | m: |
m:TextMesh Pro Unity のメインメニューで “TextMesh Pro” を含むコマンドを検索します。 |
|
Asset Database | AssetDatabase を検索します。これは、(エディターの構築に使用される全てのアイコン/リソースが含まれる) エディターリソースバンドルを検索する際に役立ちます。これらのバイナリリソースはインデックス化されていないからです。 | adb: |
||
Help | ヘルプを検索します。 | ? |
?asset “Asset” という言葉を含むヘルプエントリーを検索します。 |
|
Calculator | 数式を計算します。 | = |
=2*3+29/2 2*3+29/2 という式 の答えを計算します。 |
|
Files | ファイルを検索します。 | find: |
find:Paint Mat “paint” と “mat” の両方の用語を含む全てのアセットのパス (例: PaintBrush_Mat.mat, DryWallPainted_Mat.mat) を検索します。 |
|
Static API Method | 静的APIメソッドを検索し、実行します。 | # |
#Mesh 名前に “Mesh” が含まれる静的 API メソッドを検索します。 |
|
Packages | Unity パッケージのデータベースを検索します。 | pkg: |
pkg:vector Unity パッケージのデータベースで “vector” という用語に一致するパッケージを検索します。 |
|
Asset Store | Unity Asset Store を検索します。 | store: |
store:texture Unity Asset Store で、“texture” という用語にマッチするアセットを検索します。 |
|
Performance | Unity で利用可能な全てのパフォーマンストラッカーを検索します。これはパフォーマンスのボトルネックを見つけるために役立ちます。 | performance: |
||
Saved Queries | 保存されたクエリーを検索します。 | q: |
q:enemies “enemies” という用語を含む全ての検索クエリアセットを検索します。 |
|
Logs |
Editor.log ファイルを検索します。 |
log: |
log:cache Editor.log ファイルで “cache” に一致する情報を検索します。 |
また、独自の検索プロバイダーを作成 することも可能です。
特定の検索プロバイダーを通常の検索から除外することができます。プロバイーを除外するには、以下のいずれかを行います。
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.