Exemplo n.º 1
0
 public void Destroy()
 {
     if (parent != null)
         parent.RemoveChild(this);
     parent = null;
 }
Exemplo n.º 2
0
 public virtual void RemoveChild(UIItem child)
 {
     children.Remove(child);
 }
Exemplo n.º 3
0
 public virtual void AddChild(UIItem child)
 {
     children.Add(child);
     child.defaults = defaults;
     child.parent = this;
 }