public override void Unload() { Hotkeys.Unload(); Core.Instance.Unload(); FastForwardBoost.Unload(); DisableAchievements.Instance.Unload(); GraphicsCore.Instance.Unload(); SimplifiedGraphicsFeature.Instance.Unload(); CenterCamera.Instance.Unload(); AutoMute.Unload(); HideGameplay.Instance.Unload(); HitboxTweak.Unload(); InfoHud.Unload(); PlayerInfo.Unload(); On.Celeste.LevelLoader.LoadingThread -= LevelLoader_LoadingThread; StudioCommunicationClient.Destroy(); UnixRtc?.Dispose(); Manager.DisableExternal(); #if DEBUG Benchmark.Unload(); #endif }
public override void Unload() { Hotkeys.Unload(); Core.Unload(); FastForwardBoost.Unload(); DisableAchievements.Unload(); GraphicsCore.Unload(); SimplifiedGraphicsFeature.Unload(); CenterCamera.Unload(); AutoMute.Unload(); HideGameplay.Unload(); HitboxTweak.Unload(); InfoHud.Unload(); ConsoleEnhancements.Unload(); StudioCommunicationClient.Destroy(); AttributeUtils.Invoke <UnloadAttribute>(); UnixRtc?.Dispose(); #if DEBUG Benchmark.Unload(); #endif }