SetSelection
Set the selected items of the TreeView.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor
SetSelection(IList<T>)
Set the selected items of the TreeView.
public void SetSelection(IList<TIdentifier> selectedIDs)
Parameters
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
TreeViewItem IDs.
Options for extra logic performed after the selection. See TreeViewSelectionOptions.
Remarks
Additional Resources: TreeViewSelectionOptions.