Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

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.

Additional resources: TreeViewSelectionOptions.