5 override void OnMenuOpen()
11 SCR_DebriefingScreenComponent debriefingScreen = SCR_DebriefingScreenComponent.Cast(
m_GameMode.FindComponent(SCR_DebriefingScreenComponent));
12 if (!debriefingScreen)
19 if (m_GameMasterButton)
23 m_GameMasterButton.SetVisible(
false);
29 m_GameMasterButton.SetVisible(editor && !editor.IsLimited());
31 m_GameMasterButton.SetVisible(
false);
35 RichTextWidget scenarioTitle = RichTextWidget.Cast(
GetRootWidget().FindAnyWidget(
"DeploySetup"));
38 scenarioTitle.SetText(
"#AR-DebriefingScreen_Debriefing");
46 m_iMaxPlayerCount = header.m_iPlayerCount;
48 m_wPlayerCount = RichTextWidget.Cast(
GetRootWidget().FindAnyWidget(
"PlayerCount"));
51 m_wScenarioTimeElapsed = RichTextWidget.Cast(
GetRootWidget().FindAnyWidget(
"TimeElapsed"));
53 Widget continueBtn =
GetRootWidget().FindAnyWidget(
"CloseButton");
58 continueButton.m_OnActivated.Insert(ReturnToMenu);
60 RichTextWidget continueBtnBackToMenu = RichTextWidget.Cast(continueBtn.FindAnyWidget(
"Text"));
61 if (continueBtnBackToMenu)
62 continueBtnBackToMenu.SetText(
"#AR-PauseMenu_Exit");
65 Widget pauseMenuBtn =
GetRootWidget().FindAnyWidget(
"PauseButton");
70 pauseMenuButton.m_OnActivated.Insert(OpenPauseMenu);
86 baseLayout.InitContent(
this);
98 dlg.m_OnConfirm.Insert(BackToMainMenuPopupConfirm);
102 protected void BackToMainMenuPopupConfirm()
109 void OpenDebriefingScreenMenu()
115 void CloseDebriefingScreenMenu()