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

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