示例#1
0
 private static void Postfix(OptionsMenu __instance, OptionsMenu.Page page)
 {
     if (page == OptionsMenu.Page.Main)
     {
         AutoLightshowMod.SetUserBrightness(RenderSettings.skybox.GetFloat("_Exposure"), RenderSettings.reflectionIntensity);
     }
 }
示例#2
0
 private static void PostFix(MenuState __instance, MenuState.State state)
 {
     if (state == MenuState.State.SongPage)
     {
         AutoLightshowMod.Reset();
     }
 }
示例#3
0
 private static void Postfix(InGameUI __instance)
 {
     if (KataConfig.I.practiceMode)
     {
         return;
     }
     AutoLightshowMod.Reset();
 }
示例#4
0
            private static void Postfix(EnvironmentLoader __instance)
            {
                if (!Config.enabled)
                {
                    return;
                }

                MelonCoroutines.Start(AutoLightshowMod.ISetDefaultArenaBrightness());
            }
示例#5
0
 private static void Postfix(SongCues __instance)
 {
     if (KataConfig.I.practiceMode)
     {
         return;
     }
     if (!Config.enabled)
     {
         return;
     }
     if (TutorialFlow.I.mIsTutorialSong)
     {
         return;
     }
     AutoLightshowMod.StartLightshow();
 }
示例#6
0
 private static void Postfix(LaunchPanel __instance)
 {
     AutoLightshowMod.Reset();
 }