Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetSelection

Set the selected items of the TreeView.
Read time 1 minuteLast updated 10 days ago

Definition

SetSelection(IList<T>)

Set the selected items of the TreeView.
public void SetSelection(IList<TIdentifier> selectedIDs)

Parameters

selectedIDs

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

selectedIDs

TreeViewItem IDs.

Options for extra logic performed after the selection. See TreeViewSelectionOptions.

Remarks

Additional Resources: TreeViewSelectionOptions.