Example #1
0
 public static void insertBefore(ContainerComponent parent, UnityComponent child, UnityComponent beforeChild)
 {
     child.SetParent(parent, beforeChild);
     parent.ScheduleLayout();
 }
Example #2
0
 public static void removeChild(ContainerComponent parent, UnityComponent child)
 {
     child.Destroy();
     parent.ScheduleLayout();
 }
Example #3
0
 public static void appendChild(ContainerComponent parent, UnityComponent child)
 {
     child.SetParent(parent);
     parent.ScheduleLayout();
 }