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