AddChild(TreeViewItem)
Helper method that adds the child TreeViewItem to the TreeViewItem.children list and sets the parent property on the child.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor.CoreModule
public void AddChild(TreeViewItem child)
Parameters
TreeViewItem to be added to the children list.