EnableSearchQuery
This flag enables the use of the Saved Searches workflow in the Search Picker window.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine.Search
- Assembly: UnityEngine.CoreModule
EnableSearchQuery = 524288
Remarks
This flag is not set by default. When it is not set, the Search Picker window will not show any panel or button related to the Saved Searches workflow. The flag OpenLeftSidePanel will not work without EnableSearchQuery.
Examples
[SearchContext("t:material", "asset", SearchViewFlags.EnableSearchQuery)]public Material selectMaterial;