ドキュメント

Unity Engine

Unity Engine

SetSelection

Set the selected items of the TreeView.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

SetSelection(IList<int>)

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

Parameters

selectedIDs

TreeViewItem IDs.

Remarks

Additional Resources: TreeViewSelectionOptions.

SetSelection(IList<int>, TreeViewSelectionOptions)

Set the selected items of the TreeView.
public void SetSelection(IList<int> selectedIDs, TreeViewSelectionOptions options)

Parameters

selectedIDs

TreeViewItem IDs.

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

Remarks

Additional Resources: TreeViewSelectionOptions.