public IMenuLabel AddLabel(string text)
        {
            var control = new DummyControlWithText(text, TextAnchor.MiddleLeft);

            RegisteredButtons.Add(new ExpansionKitApi.ButtonRegistration {
                Text = text, InstanceConsumer = control.ConsumeGameObject
            });
            return(control);
        }
        public IMenuButton AddSimpleButton(string text, Action <IMenuButton> onClick)
        {
            var control = new DummyControlWithText(text, TextAnchor.MiddleCenter);

            RegisteredButtons.Add(new ExpansionKitApi.ButtonRegistration {
                Text = text, Action = () => onClick(control), InstanceConsumer = control.ConsumeGameObject
            });
            return(control);
        }