기술 자료

Unity Engine


Unity Engine


selectedIds

Returns the persistent IDs of selected items in the data source, regardless of whether they are collapsed or not. Always returns an enumerable, even if no item is selected, or a single item is selected.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public IEnumerable<int> selectedIds { get; }

Remarks

In a tree, if a child item is collapsed, its ID is included in the persistent selection.