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
        }
Exemple #2
0
        public override void Unload()
        {
            Core.instance.Unload();
            DisableAchievements.instance.Unload();
            GraphicsCore.instance.Unload();
            HitboxFixer.instance.Unload();
            SimplifiedGraphics.instance.Unload();
            CenterCamera.instance.Unload();
            AutoMute.instance.Unload();
            HideGameplay.instance.Unload();
            HitboxColor.instance.Unload();
            HitboxTweak.instance.Unload();
            On.Celeste.LevelLoader.LoadingThread -= LevelLoader_LoadingThread;
            StudioCommunicationClient.Destroy();

            UnixRTC?.Dispose();
        }
        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
        }