// Unload the entirety of your mod's content, remove any event listeners and undo all hooks. public override void Unload() { Everest.Events.Level.OnLoadEntity -= Level_OnLoadEntity; On.Celeste.Player.Update -= Player_Update; MinigameSwitchGatherer.Unload(); PersistentMiniTextbox.Unload(); }