コード例 #1
0
 public void OnApplicationStart()
 {
     Console.WriteLine("[BailOut] Starting Bailout");
     GameEnergyPatches.PatchMethods();            //this patches the functions necessary to stop you from failing when your energy reaches it's lowest point.
     ResultsViewControllerPatches.PatchMethods(); // jk i fixed it, but I didn't rename shit sorry :(
     PauseMenuManagerPatches.PatchMethods();      // This should prevent bailout mode from glitching out if you fail then quit.
     Console.WriteLine("[BailOut] Assembly Patched");
     Settings.loadBailoutSettings();
     SceneManager.sceneLoaded += SceneManager_sceneLoaded;
 }
コード例 #2
0
    public void OnApplicationStart()
    {
        Console.WriteLine("[BailOut] Starting Bailout");
        GameEnergyPatches.PatchMethods();            //this patches the functions necessary to stop you from failing when your energy reaches it's lowest point.
        ResultsViewControllerPatches.PatchMethods(); // jk i fixed it, but I didn't rename shit sorry :(
        PauseMenuManagerPatches.PatchMethods();      // This should prevent bailout mode from glitching out if you fail then quit.
        Console.WriteLine("[BailOut] Assembly Patched");
        Settings.loadBailoutSettings();
        BeatSaberMarkupLanguage.Settings.BSMLSettings.instance.AddSettingsMenu("BailOutModeHacked", "BailOutMode.UI.settings.bsml", BailOutMode.UI.BailOutUI.BOMSettings.instance);


        SceneManager.sceneLoaded += SceneManager_sceneLoaded;
    }