Version: 2023.1

SearchColumnConstructor

切换到手册
public SearchColumn (string path, GUIContent content, Search.SearchColumnFlags options);
public SearchColumn (string path, string selector, GUIContent content, Search.SearchColumnFlags options);
public SearchColumn (string path, string selector, string provider, GUIContent content, Search.SearchColumnFlags options);

参数

path Serialization path of the column.
content Content to render the column header.
options Column flags.
selector Selector used to fetch the field data of a search item. See SearchSelectorAttribute.
provider Column provider used to manage the column. See SearchColumnProviderAttribute.

描述

Creates a new search column.