public void Add(UIType type, UI ui) { this.uis.Add(type, ui); }
public void Add(UI ui) { this.children.Add(ui.Name, ui); ui.Parent = this; }
public void Run() { UI ui = Hotfix.Scene.GetComponent <UIComponent>().Create(UIType.Login); }