Version: 2021.2
public List<int> selectedIDs ;

説明

Selected TreeViewItem IDs. Use of the SetSelection and IsSelected API will access this state.