public static void ShowFlow() { if (TrickSaberFlowCoordinator == null) { TrickSaberFlowCoordinator = BeatSaberUI.CreateFlowCoordinator <TrickSaberFlowCoordinator>(); } BeatSaberUI.MainFlowCoordinator.PresentFlowCoordinator(TrickSaberFlowCoordinator); }
private SettingsUI(TrickSaberFlowCoordinator trickSaberFlowCoordinator) { _trickSaberFlowCoordinator = trickSaberFlowCoordinator; _menuButton = new MenuButton("Trick Saber", "Change your tricks!", ShowFlow); }