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.
Read time 1 minuteLast updated 10 days ago
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.