Пример #1
0
 public static void ShowFlow()
 {
     if (TrickSaberFlowCoordinator == null)
     {
         TrickSaberFlowCoordinator = BeatSaberUI.CreateFlowCoordinator <TrickSaberFlowCoordinator>();
     }
     BeatSaberUI.MainFlowCoordinator.PresentFlowCoordinator(TrickSaberFlowCoordinator);
 }
Пример #2
0
 private SettingsUI(TrickSaberFlowCoordinator trickSaberFlowCoordinator)
 {
     _trickSaberFlowCoordinator = trickSaberFlowCoordinator;
     _menuButton = new MenuButton("Trick Saber", "Change your tricks!", ShowFlow);
 }