Example #1
0
 public static void UnLoad()
 {
     Log.Info("LifeCycle.Release() called");
     Settings.GameConfig = null;
     HarmonyExtension.UninstallHarmony();
     NodeControllerTool.Remove();
 }
Example #2
0
 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;
 }