ドキュメント

Unity Engine

Unity Engine

CollapseItem(int, bool, bool)

Collapses the specified TreeView item.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public void CollapseItem(int id, bool collapseAllChildren = false, bool refresh = true)

Parameters

id

The TreeView item identifier.

collapseAllChildren

When true, all children will also get collapsed. This is false by default.

refresh

Whether to refresh items or not. Set to false when doing multiple operations on the tree, to only do one RefreshItems once all operations are done. This is true by default.