기술 자료

Unity Engine

Unity Engine

selectedIndices

Returns the indices of selected items in the data source. Always returns an enumerable, even if no item is selected, or a single item is selected.
읽는 시간 1분최근 업데이트: 24일 전

Definition

public IEnumerable<int> selectedIndices { get; }

Remarks

In a tree, if a child item is collapsed, its index is not included in the selection. To get selected items regardless of whether they are collapsed or not, use BaseVerticalCollectionView.selectedIds instead.