Version: 2022.3

SearchColumn

class in UnityEditor.Search


实现接口:ISerializationCallbackReceiver

切换到手册

描述

Search columns are used to display additional information in the Search Table view.

变量

comparerIf defined, the comparer delegate is used to sort search results based on the value displayed in that column.
contentThe content is used to display the search column label and image in its header.
drawerIf defined, the drawer delegate is used to customize how the search column displays its information.
getterIf defined, the getter delegate is used to customize how the search field data is extracted and transformed for display (see SearchColumn.drawer).
nameName of the search column.
optionsVarious options used to define how a search column is presented.
pathThe path can be used by the column delegates to interpret how the data can be manipulated.
providerThe provider is used to indicate which search column provider (see SearchColumn) is used to define the search column format.
selectorThe selector is used by the column delegates to fetch the search field data.
setterIf defined, the setter delegate writes back the value to the corresponding field of the search result.
widthThe column width is used to set the Search Table view column width.

构造函数

SearchColumnCreates a new search column.

公共函数

InitFunctorsInitialize the column provider functors.

静态函数

EnumerateEnumerate a set of columns for a variety of search items.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961