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