private void Unload() { RemoveEvents(); CustomMaterialsPatches.RemoveHarmonyPatches(); Configuration.Save(); MaterialAssetLoader.Clear(); SettingsUI.RemoveMenu(); }
private void Load() { Configuration.Load(); MaterialAssetLoader.Load(); CustomMaterialsPatches.ApplyHarmonyPatches(); SettingsUI.CreateMenu(); AddEvents(); Logger.log.Info($"{PluginName} v.{PluginVersion} has started."); }