Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Decompiled source of KM Game Speed Mod v1.0.0
repo new mode.dll
Decompiled 3 months agousing System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("repo new mode")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("repo new mode")] [assembly: AssemblyCopyright("Copyright © 2026")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("20542cfe-95ab-41a2-bf4f-c86be5adb762")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] [assembly: AssemblyVersion("1.0.0.0")] [BepInPlugin("com.km0.gamespeed", "KM Game Speed Mod", "1.0.0")] public class GameSpeedController : BaseUnityPlugin { private bool isFastMotion = false; private void Update() { if (Input.GetKeyDown((KeyCode)283)) { isFastMotion = !isFastMotion; if (isFastMotion) { Time.timeScale = 2f; ((BaseUnityPlugin)this).Logger.LogInfo((object)"Game Speed: FAST (2x)"); } else { Time.timeScale = 1f; ((BaseUnityPlugin)this).Logger.LogInfo((object)"Game Speed: NORMAL"); } } } }