Exemplo n.º 1
0
 static public void SetChildrenAtSelf <T>(this Component item, IEnumerable <T> children) where T : Component
 {
     item.DestroyChildren();
     item.AddChildrenAtSelf(children);
 }
Exemplo n.º 2
0
 static public void SetChildrenAtSelf(this Component item, IEnumerable <GameObject> children)
 {
     item.DestroyChildren();
     item.AddChildrenAtSelf(children);
 }