public override void Unload() { InGameOverworldHelper.Unload(); ReturnToLobbyHelper.Unload(); StrawberryHooks.Unload(); MiniHeartDoor.Unload(); LobbyHelper.Unload(); SpeedBerryTimerDisplay.Unload(); SpeedBerryPBInChapterPanel.Unload(); JournalTrigger.Unload(); CustomCrystalHeartHelper.Unload(); GoldenBerryPlayerRespawnPoint.Unload(); SpeedBerry.Unload(); AreaCompleteInfoInLevel.Unload(); SilverBlock.Unload(); Everest.Content.OnUpdate -= onModAssetUpdate; }
public override void Unload() { InGameOverworldHelper.Unload(); ReturnToLobbyHelper.Unload(); StrawberryHooks.Unload(); MiniHeartDoor.Unload(); LobbyHelper.Unload(); SpeedBerryTimerDisplay.Unload(); SpeedBerryPBInChapterPanel.Unload(); JournalTrigger.Unload(); CustomCrystalHeartHelper.Unload(); GoldenBerryPlayerRespawnPoint.Unload(); SpeedBerry.Unload(); AreaCompleteInfoInLevel.Unload(); SilverBlock.Unload(); MiniHeartDoorUnlockCutsceneTrigger.Unload(); LazyLoadingHandler.Unload(); SilverBerryCollectTrigger.Unload(); Everest.Content.OnUpdate -= onModAssetUpdate; hookOrigSessionCtor?.Dispose(); hookOrigSessionCtor = null; }