기술 자료

Unity Engine

Unity Engine

SetExpandedRecursive(TIdentifier, bool)

Expand or collapse all items under item with id.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

SetExpandedRecursive(T, bool)

public void SetExpandedRecursive(TIdentifier id, bool expanded)

Parameters

id

T
TreeViewItem ID.

expanded

Expanded state: true expands, false collapses.

Remarks

This is also used internally when Alt/Option + clicking an foldout arrow of an item to expand/collapse the entire sub-tree under this item.