コード例 #1
0
        public void AddUI(UIElement ui)
        {
#if DEBUG
            if (this.owner == ui)
                throw new Exception("cyclic!");
#endif
            ui.ParentUI = this.owner;
            uiList.Add(ui);
        }
コード例 #2
0
 public bool RemoveUI(UIElement ui)
 {
     //remove specific ui
     return uiList.Remove(ui);
 }
コード例 #3
0
 public UICollection(UIElement owner)
 {
     this.owner = owner;
 }