Version: 2023.2
言語: 日本語

SearchViewStateConstructor

マニュアルに切り替える
public SearchViewState (Search.SearchContext context);
public SearchViewState (Search.SearchContext context, Search.SearchViewFlags flags);

パラメーター

context Initial search context.
flags Initial search view flags.

説明

Create search view flags used to create a new Search window.


public SearchViewState (Search.SearchContext context, Search.SearchTable tableConfig, Search.SearchViewFlags flags);

パラメーター

context Initial search context.
tableConfig Initial search table configuration.
flags Initial search view flags.

説明

Creates a search view that will be opened in table view.


public SearchViewState (Search.SearchContext context, Action<Object,bool> selectObjectHandler, Action<Object> trackingObjectHandler, string typeName, Type filterType);

パラメーター

context Initial search context.
selectObjectHandler Handler executed when the user has selected an object.
trackingObjectHandler Handler executed when the user clicks on an item in the search view.
typeName String type name used to filter items in the search results. This parameter can be defined if the concrete Type cannot be accessed.
filterType Concrete type used to filter items in the search results.

説明

Creates a search view state that will be used to open a search picker using SearchService.ShowPicker.


public SearchViewState (Search.SearchContext context, Action<SearchItem,bool> selectHandler);

パラメーター

context Initial search context.
selectHandler Handler executed when the user has selected an search result.

説明

Creates a search view state that will be used to open a search picker using SearchService.ShowPicker.

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