static public void Label(ref CuiElementContainer container, string panel, string text, int size, UI4 dimensions, TextAnchor align = TextAnchor.MiddleCenter)
 {
     container.Add(new CuiLabel
     {
         Text          = { FontSize = size, Align = align, Text = text, Font = "droidsansmono.ttf" },
         RectTransform = { AnchorMin = dimensions.GetMin(), AnchorMax = dimensions.GetMax() }
     },
                   panel);
 }
 static public void Panel(ref CuiElementContainer container, string panel, string color, UI4 dimensions, bool cursor = false)
 {
     container.Add(new CuiPanel
     {
         Image         = { Color = color },
         RectTransform = { AnchorMin = dimensions.GetMin(), AnchorMax = dimensions.GetMax() },
         CursorEnabled = cursor
     },
                   panel);
 }
            static public CuiElementContainer ElementContainer(string panelName, string color, UI4 dimensions, bool useCursor = false, string parent = "Overlay")
            {
                var NewElement = new CuiElementContainer()
                {
                    {
                        new CuiPanel
                        {
                            Image         = { Color = color },
                            RectTransform = { AnchorMin = dimensions.GetMin(), AnchorMax = dimensions.GetMax() },
                            CursorEnabled = useCursor
                        },
                        new CuiElement().Parent = parent,
                        panelName
                    }
                };

                return(NewElement);
            }