Пример #1
0
 public void Remove(GameObject obj)
 {
     if (Children.Contains(obj))
         Children.Remove(obj);
 }
Пример #2
0
 public void Add(GameObject obj)
 {
     obj.Parent = this;
     Children.Add(obj);
 }