public void OnSceneLoaded(Scene arg0, LoadSceneMode sceneMode) { if (arg0.name == "MenuCore") { FuckeryUI.SetupUI(); } }
internal static void SetupMods() { bool disableScore = false; BS_Utils.Plugin.LevelDidFinishEvent += Plugin_LevelDidFinishEvent; MissHell.SetupHell(); ChallengeMode.SetupMode(); if (FuckeryUI.OneAtATime.Enabled) { OAAT(); } if (FuckeryUI.InvisibleSabers.Enabled) { InvisbleSabers(); } if (FuckeryUI.ModsEnabled()) { disableScore = true; } if (disableScore) { ScoreSubmission.DisableSubmission("Nova's Fuckery"); } }
internal static void CleanupMode() { if (!FuckeryUI.ChallengeMode.Enabled) { return; } FuckeryUI.DisableAllMods(true); timer.Stop(); timer.Elapsed -= Timer_Elapsed; timer = null; }
private static void Timer_Elapsed(object sender, ElapsedEventArgs e) { FuckeryUI.DisableAllMods(true); ActivateRandomMod(); }