public void OnApplicationStart()
        {
            IngameInformationsCounter.OnLoad();
            HarmonyInstance harmony = HarmonyInstance.Create("com.Shoko84.beatsaber.BeatSaberDrinkWater");

            harmony.PatchAll(Assembly.GetExecutingAssembly());
            BSEvents.menuSceneActive += OnMenuSceneActive;
            BSEvents.gameSceneActive += OnGameSceneActive;
        }
Exemple #2
0
        public void OnApplicationStart()
        {
            BSEvents.menuSceneLoadedFresh += MenuLoadFresh;
            IngameInformationsCounter.OnLoad();
            var harmony = new Harmony("com.Shoko84.beatsaber.DrinkWater");

            harmony.PatchAll(Assembly.GetExecutingAssembly());
            BSEvents.menuSceneActive += OnMenuSceneActive;
            BSEvents.gameSceneActive += OnGameSceneActive;
        }