文档

Unity Engine


User Manual

Script Reference

Unity Engine


SetSelection

Set the selected items of the TreeView.
阅读时间1 分钟最后更新于 23 天前

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.