Version: 2021.2

SearchViewFlags.DisableBuilderModeToggle

切换到手册

描述

This flag disables the ability to switch between text mode and builder mode.

This flag is not set by default. When it is set, the Search Picker window will not be able to switch between text mode and builder mode, no matter what mode it is already in.

[SearchContext("t:material", "asset", SearchViewFlags.DisableBuilderModeToggle)]
public Material selectMaterial;