Enum SearchFlags
Various search options used to fetch items.
Namespace: UnityEditor.Search
Syntax
[Flags]
public enum SearchFlags
Fields
| Name | Description | Value |
|---|---|---|
| Debug | Adding debugging info while looking for results, |
|
| Default | Default Search Flag |
|
| Dockable | Specify that a QuickSearch window is dockable instead of being a modal popup window. |
|
| Expression | Process the current query as an expression |
|
| FirstBatchAsync | Send the first items asynchronously |
|
| FocusContext | Focus the search query when opening QuickSearch. |
|
| HidePanels | Hide all QuickSearch side panels. |
|
| Multiselect | Specify that a QuickSearch window list view supports multi-selection. |
|
| NoIndexing | Prevent the search to use any indexing |
|
| None | No specific search options. |
|
| OpenContextual | Options when opening QuickSearch in contextual mode (with only a few selected providers enabled). |
|
| OpenDefault | Default options when opening a QuickSearch window. |
|
| OpenGlobal | Default options when opening a QuickSearch using the global shortcut. |
|
| OpenPicker | Options when opening QuickSearch as an Object Picker. |
|
| Packages | Indicates that the query should consider package assets to fetch results. If not set, then package assets will most likely be ignored. |
|
| QueryString | Evaluate the search text as a pure query string (do not evaluate the text as a search expression). |
|
| ReuseExistingWindow | Open QuickSearch reusing an existing window if any. |
|
| SaveFilters | Search View Flags |
|
| ShowErrorsWithResults | Always show query errors even when there are results available. |
|
| Sorted | Fetch items will be sorted by the search service. |
|
| Synchronous | Search items are fetch synchronously. |
|
| WantsMore | Sets the search to search for all results. |