public override void ReceiveClosedWindowNotification() { //Debug.Log("LoadGamePanel.OnCloseWindow()"); base.ReceiveClosedWindowNotification(); newGameManager.OnSetPlayerName -= HandleSetPlayerName; newGameManager.OnSetUnitProfile -= HandleSetUnitProfile; newGameManager.OnSetCharacterClass -= HandleSetCharacterClass; newGameManager.OnSetClassSpecialization -= HandleSetClassSpecialization; newGameManager.OnSetFaction -= HandleSetFaction; newGameManager.OnUpdateEquipmentList -= HandleUpdateEquipmentList; newGameManager.OnUpdateFactionList -= HandleUpdateFactionList; newGameManager.OnUpdateCharacterClassList -= HandleUpdateCharacterClassList; newGameManager.OnUpdateClassSpecializationList -= HandleUpdateClassSpecializationList; newGameManager.OnUpdateUnitProfileList -= HandleUpdateUnitProfileList; saveManager.ClearSharedData(); characterPreviewPanel.OnTargetCreated -= HandleTargetCreated; characterPreviewPanel.OnTargetReady -= HandleTargetReady; characterPreviewPanel.ReceiveClosedWindowNotification(); if (systemConfigurationManager.NewGameUMAAppearance == true) { umaCharacterPanel.ReceiveClosedWindowNotification(); } else { characterPanel.ReceiveClosedWindowNotification(); } specializationPanel.ReceiveClosedWindowNotification(); factionPanel.ReceiveClosedWindowNotification(); classPanel.ReceiveClosedWindowNotification(); detailsPanel.ReceiveClosedWindowNotification(); OnCloseWindow(this); }