interface in UnityEditor.Search
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseSearch view interface used by the search context to execute UI operations.
context | Returns the current view search context. |
displayMode | Indicates how the data is displayed in the UI. |
filterCallback | Callback used to filter items shown in the list. |
itemIconSize | Defines the size of items in the search view. |
multiselect | Allows multi-selection of items in the list/grid of items. If false, a user can only select a single item. |
position | Returns the absolute position of the Search window. |
results | Returns the list of all search results. |
selectCallback | Callback used to override a default Search behavior. |
selection | Returns the selected items in the view. |
trackingCallback | Callback used to override the tracking behavior. |
AddSelection | Adds new items to the current selection. |
Close | Closes the search view. |
ExecuteAction | Executes a Search action on a given list of items. |
ExecuteSelection | Execute the default action of the active selection. |
Focus | Make sure the Search window is now selected to receive input from a user. |
FocusSearch | Focus the search text field control. |
Refresh | Triggers a refresh of the search view and refetches all the search items from enabled search providers. |
Repaint | Requests the search view to repaint itself. |
SelectSearch | Puts focus in the SearchView text field AND selects all the text inside the text field (if any). |
SetSearchText | Sets the search query text. |
SetSelection | Updates the search view with a new selection. |
ShowItemContextualMenu | Shows a contextual menu for the specified item. |