예제 #1
0
파일: UIItem.cs 프로젝트: hvp/Gemgine
 public void Destroy()
 {
     if (parent != null)
         parent.RemoveChild(this);
     parent = null;
 }
예제 #2
0
파일: UIItem.cs 프로젝트: hvp/Gemgine
 public virtual void RemoveChild(UIItem child)
 {
     children.Remove(child);
 }
예제 #3
0
파일: UIItem.cs 프로젝트: hvp/Gemgine
 public virtual void AddChild(UIItem child)
 {
     children.Add(child);
     child.defaults = defaults;
     child.parent = this;
 }