This version of Unity is unsupported.

TreeView.SetSelection

Declaration

public void SetSelection(IList<int> selectedIDs);

Declaration

public void SetSelection(IList<int> selectedIDs, IMGUI.Controls.TreeViewSelectionOptions options);

Parameters

selectedIDs TreeViewItem IDs.
options Options for extra logic performed after the selection. See TreeViewSelectionOptions.

Description

Set the selected items of the TreeView.