Example #1
0
 public static void Unload()
 {
     LogCalled();
     ARTool.Release();
     ObserverDisposable?.Dispose();
     HintBox.Release();
     HarmonyUtil.UninstallHarmony(HARMONY_ID);
     NetworkExtensionManager.RawInstance?.OnUnload();
 }
Example #2
0
 public static void Unload()
 {
     try {
         LogCalled();
         UI.Debug.PWSelector.Release();
         UI.Debug.PWModifier.Release();
         ARTool.Release();
         ObserverDisposable?.Dispose();
         HintBox.Release();
         HarmonyUtil.UninstallHarmony(HARMONY_ID);
         NetworkExtensionManager.RawInstance?.OnUnload();
     }catch (Exception ex) {
         Log.Exception(ex);
     }
 }