Unity - Scripting API: Search.SearchExpression.Execute(SearchContext,SearchExpressionExecutionFlags)
Success!
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.
Submission failed
For 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.
Parameters
| Parameter | Description |
|---|---|
| searchContext | SearchContext used to initialize the SearchExpressionContext that will encapsulate all information relative to expression evaluation. |
| executionFlags | Execution flags helping define how to evaluate the expression. |
| c | SearchExpressionContext that will encapsulate all information relative to expression evaluation. |
Returns
void Returns an enumerable list of SearchItem.
Description
Execute a SearchEXpression givent a certain SearchContext Depending on flags the expression might be valuated in a worker thread (by default) or in the main thread. It returns a an enumerable list of SearchItem.