기술 자료

Unity Engine

Unity Engine

AddChild(TreeViewItem)

Helper method that adds the child TreeViewItem to the TreeViewItem.children list and sets the parent property on the child.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

경고
Removed. TreeViewItem is now deprecated. You can likely now use TreeViewItem\<int\> instead and not think more about it. But if you were using that identifier to store EntityId data, you should instead opt to upgrade your TreeViews to use TreeViewItem\<EntityId\> to get the proper typing.
public void AddChild(TreeViewItem child)

Parameters

TreeViewItem to be added to the children list.