Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

TreeView.SetSelection

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

Parameters

selectedIDsTreeViewItem IDs.
optionsOptions for extra logic performed after the selection. See TreeViewSelectionOptions.

Description

Set the selected items of the TreeView.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答