Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DisableInspectorPreview

This flag disables the use of the Inspector Preview in the Search Picker window.
Read time 1 minuteLast updated 10 days ago

Definition

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;