예제 #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);
 }