public override void Unload() { CommandLogic.instance = null; orgCoatSlots = new int[0]; HidePartyUI(); HideCommandUI(); HideDialogUI(); HideLevelUpUI(); PartySelectHotkey = null; GuardHotKey = null; MusicUpKey = null; MusicLeftKey = null; MusicDownKey = null; MusicRightKey = null; if (partyUI != null && commandUI != null && dialogUI != null) { partyUI.Destroy(); commandUI.Destroy(); dialogUI.Destroy(); } partyUI = null; commandUI = null; dialogUI = null; instance = null; }