SetSelection
Set the selected items of the TreeView.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor.CoreModule
SetSelection(IList<T>)
Set the selected items of the TreeView.
public void SetSelection(IList<TIdentifier> selectedIDs)
Parameters
TreeViewItem IDs.
Remarks
Additional Resources: TreeViewSelectionOptions.
SetSelection(IList<T>, TreeViewSelectionOptions)
Set the selected items of the TreeView.
public void SetSelection(IList<TIdentifier> selectedIDs, TreeViewSelectionOptions options)
Parameters
TreeViewItem IDs.
Options for extra logic performed after the selection. See TreeViewSelectionOptions.
Remarks
Additional Resources: TreeViewSelectionOptions.