Exemplo n.º 1
0
        public static Button CreateUIButton(this HMUI.ViewController parent, string name, string buttonTemplate, Vector2 anchoredPosition, Vector2 sizeDelta, UnityAction onClick = null, string buttonText = "BUTTON")
        {
            var btn = UIHelper.CreateUIButton(name, parent.rectTransform, buttonTemplate, anchoredPosition, sizeDelta, onClick, buttonText);

            return(btn);
        }
 protected override void BackButtonWasPressed(HMUI.ViewController topViewController)
 {
     BeatSaberUI.MainFlowCoordinator.DismissFlowCoordinator(this);
     base.BackButtonWasPressed(topViewController);
 }