コード例 #1
0
        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");
            }
        }
コード例 #2
0
 private static void Plugin_LevelDidFinishEvent(StandardLevelScenesTransitionSetupDataSO levelScenesTransitionSetupDataSO, LevelCompletionResults levelCompletionResults)
 {
     try {
         MissHell.ResetHell();
         ChallengeMode.CleanupMode();
     } catch {
     }
 }