internal static bool CreatePaginator(GameObject parent, string childName, int amountToChangeBy, Action <int> ChangePageBy, Color startColor, Color hoverColor, out PaginatorButton customButton)
        {
            customButton = null;
            var go = parent.FindChild(childName)?.gameObject;

            if (go == null)
            {
                QuickLogger.Error($"{childName} cannot be found");
                return(false);
            }

            var button = go.AddComponent <PaginatorButton>();

            button.ChangePageBy         = ChangePageBy;
            button.AmountToChangePageBy = amountToChangeBy;
            button.STARTING_COLOR       = startColor;
            button.HOVER_COLOR          = hoverColor;
            customButton = button;
            return(true);
        }
        internal static bool CreatePaginator(GameObject parent, string childName, int amountToChangeBy, Action <int> ChangePageBy, out PaginatorButton customButton)
        {
            var result = CreatePaginator(parent, childName, amountToChangeBy, ChangePageBy, Color.white, ColorBlue,
                                         out var paginatorButton);

            customButton = paginatorButton;
            return(result);
        }