CreateQuery(in string, SearchContext, SearchTable)
Creates a new search query.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
CreateQuery(string, SearchContext, SearchTable)
public static ISearchQuery CreateQuery(in string name, SearchContext context, SearchTable tableConfig)
Parameters
Name of the query.
Search context used to execute the query.
Search table used to populate the table view. Can be null.
Returns
Type | Description |
|---|---|
| ISearchQuery | Returns a new search query object. |
Remarks
This search query needs to be persisted manually.