示例#1
0
        public void AddGuiComponent(GuiComponent component)
        {
            if (component == null)
                throw new Exception("Component can't be null");

            _components.Add(component);
        }
示例#2
0
 public static void AddGuiComponent(GuiComponent comp)
 {
     _componentsToAdd.Add(comp);
 }