Version: 2023.2
言語: 日本語

QueryListBlock

class in UnityEditor.Search

/

継承:Search.QueryBlock

マニュアルに切り替える

説明

A query list block represents a special query block that will list a set of value for a given filter.

In example, if your SearchProvider has a filter named color for which the value can be yellow, red or pink. Then you'll use the QueryListBlockAttribute to have this filter be displayed as a block that when clicked will show a fixed set of values to be picked from.

変数

categoryBlock category.
iconIcon displayed in the query builder block widget.
idBlock id.

Public 関数

ApplyApply proposition to the block.
GetPropositionsReturns propositions when the list block is clicked.

継承メンバー

変数

contextSearch context that composed this query block.
nameName of the block.
opFilter operator (i.e. :, =, <, >, etc.) of the block if any.
sourceQuery builder source that compose this block.
valueValue of the block.

Public 関数

ToStringReturns the text filter of the block.