ShowColumnSelector(Action<IEnumerable<SearchColumn>, int>, IEnumerable<SearchColumn>, Vector2, int)
Opens an auxiliary column selector window to allow the user to search for a column to be added.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public static void ShowColumnSelector(Action<IEnumerable<SearchColumn>, int> columnsAddedHandler, IEnumerable<SearchColumn> columns, Vector2 mousePosition, int activeColumnIndex)
Parameters
Select handler invoked when columns are selected.
A set of existing columns. This set can help populate the column selector.
Mouse position when the window needs to be opened.
Any active column index that we pass back to the select handler.
Remarks
In example, the selected column could be added to an existing search property table.