Version: 2021.3
언어: 한국어

TreeView.SetupDepthsFromParentsAndChildren

매뉴얼로 전환
protected static void SetupDepthsFromParentsAndChildren (IMGUI.Controls.TreeViewItem root);

파라미터

root TreeViewItem from which the descendentans should have their depth updated.

설명

Utility method using the depth of the input TreeViewItem to set the correct depths for all its descendant TreeViewItems.

This method can be used to intitialize the TreeViewItems depth values after setting up the children properties of the TreeViewItems.

See Also: SetupDepthsFromParentsAndChildren, BuildRoot.