public static void onClickButtonThemeColor(Color clr)
 {
     ButtonStyle.onNormal.background  = onHoverButton_Background(PlainTextures.GetTextureByColor(clr));
     ButtonStyle.active.background    = onHoverButton_Background(PlainTextures.GetTextureByColor(clr));
     ButtonStyle.onActive.background  = onHoverButton_Background(PlainTextures.GetTextureByColor(clr));
     ButtonStyle.hover.background     = onHoverButton_Background(PlainTextures.GetTextureByColor(clr));
     ButtonStyle.onHover.background   = onHoverButton_Background(PlainTextures.GetTextureByColor(clr));
     ButtonStyle.focused.background   = onHoverButton_Background(PlainTextures.GetTextureByColor(clr));
     ButtonStyle.onFocused.background = onHoverButton_Background(PlainTextures.GetTextureByColor(clr));
     ButtonStyle.normal.textColor     = clr;
 }
        public static void DrawBackground(int fontsize, Color clr, float x, float y, float width, float height, string title, bool border, Color borderClr)
        {
            var style = new GUIStyle(GUI.skin.box);

            style.fontSize          = fontsize;
            style.normal.background = PlainTextures.GetTextureByColor(clr);
            if (border)
            {
                var bstyle = new GUIStyle(GUI.skin.box);
                style.normal.background = PlainTextures.GetTextureByColor(borderClr);
                GUI.Box(new Rect(x - 3f, y - 3, width + 6f, height + 6f), "");
            }
            GUI.Box(new Rect(x, y, width, height), title);
        }