Version: 2021.3
언어: 한국어
public static Search.ISearchView ShowPicker (Search.SearchContext context, Action<SearchItem,bool> selectHandler, Action<SearchItem> trackingHandler, Func<SearchItem,bool> filterHandler, IEnumerable<SearchItem> subset, string title, float itemSize, float defaultWidth, float defaultHeight, Search.SearchFlags flags);

파라미터

context Search context to start with.
selectHandler Callback invoked when an item is selected.
trackingHandler Callback invoked when an item is clicked without it being the final selection.
filterHandler Callback invoked to filter search item results to display.
title Topic to search.
itemSize Initial result view item size.
defaultWidth Initial width of the window.
defaultHeight Initial height of the window.
subset Initial set of items to be searched.
flags Options defining how the query is performed.

반환

ISearchView Creates a new search window.

설명

Open a search item picker window.


public static Search.ISearchView ShowPicker (Search.SearchViewState viewState);

파라미터

viewState Search view state used to open the Search Picker window.

반환

ISearchView Creates a new search window.

설명

Open a Search Picker window.

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