Version: 2022.3
언어: 한국어

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.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961