Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SearchViewFlags

Search view flags used to open the Object Picker in various states.
Read time 2 minutesLast updated 6 days ago

Definition

[Flags]public enum SearchViewFlags

Fields

Value

Description

BorderlessOpens a search window without any borders. This is useful to open the search window as a popup window for a quick pick.
CenteredThe Object Picker window will open centered in the main Editor window.
CompactViewThe Object Picker window will open in compact list view.
DebugThe Search Picker window reports debugging information while running queries.
DisableBuilderModeToggleThis flag disables the ability to switch between text mode and builder mode.
DisableInspectorPreviewThis flag disables the use of the Inspector Preview in the Search Picker window.
DisableNoResultTipsWhen no results are yielded by a query, do not display the no result tips page.
DisableQueryHelpersNo query helper page will show up if the search query text is empty and no result is yielded.
DisableSavedSearchQueryWhen creating a new search window, this flag can be used to disable the saved search query side panel.
EnableSearchQueryThis flag enables the use of the Saved Searches workflow in the Search Picker window.
GridViewThe Search Picker window will open in grid view.
HideSearchBarThe Search Picker window will hide the Search field. This means the user will not be able to edit the initial search query used to open the Search window.
IgnoreSavedSearchesThis flag ensure the previous search text from previous Search Window usage won't be restored. Thus the search window will always open with empty search text.
ListViewThe Search Picker window will open in list view.
NoIndexingThe Search Picker window will ignore any indexed search entry while executing the search query.
NoneThe Search Picker window will be opened using default options.
ObjectPickerThis flags tells that the search window needs to be shown as an Object Picker. By default we show the picker with a limited UI.
ObjectPickerAdvancedUIIf the ObjectPicker flag is used, it tells the system to show the Object Picker Window using the full Search Window UI.
OpenInBuilderModeThis flag forces the picker to open in builder mode.
OpenInspectorPreviewThe Search Picker window will open with the Preview Inspector open.
OpenInTextModeThis flag forces the picker to open in text mode.
OpenLeftSidePanelThe Search Picker window will open with the Saved Searches panel open.
PackagesThe Search Picker window will include results from packages.
TableViewThe Search Picker window will open in table view.