[NAK_CVR_Mods] Unfucked for 2026r182

This commit is contained in:
NotAKid 2026-06-18 22:20:56 -05:00
parent c13dc8375a
commit 281403d68b
209 changed files with 3936 additions and 1122 deletions

View file

@ -0,0 +1,23 @@
using MelonLoader;
using UnityEngine;
namespace NAK.FuckDebugConsole;
public class FuckDebugConsoleMod : MelonMod
{
private static readonly MelonPreferences_Category Category =
MelonPreferences.CreateCategory(nameof(FuckDebugConsole));
internal static readonly MelonPreferences_Entry<bool> EntryEnableDebugConsole =
Category.CreateEntry("enable_debug_console", false,
"Enable Debug Console", description: "Whether to use the debug console at all.");
public override void OnInitializeMelon()
{
Debug.developerConsoleEnabled = EntryEnableDebugConsole.Value;
EntryEnableDebugConsole.OnEntryValueChanged.Subscribe((oldValue, newValue) =>
{
Debug.developerConsoleEnabled = newValue;
});
}
}