public static void UnLoad() { Log.Info("LifeCycle.Release() called"); Settings.GameConfig = null; HarmonyExtension.UninstallHarmony(); NodeControllerTool.Remove(); }
public static void Unload() { if (!Loaded) { return; //protect against disabling from main menu. } Log.Info("LifeCycle.Unload() called"); HarmonyUtil.UninstallHarmony(HARMONY_ID); Settings.GameConfig = null; NodeControllerTool.Remove(); Loaded = false; }