4 protected string m_sPauseMenuButtonName;
7 protected string m_sCloseEditorButtonName;
10 protected void OpenPauseMenuButton(Widget widget,
float value, EActionTrigger actionTrigger)
12 if (!
GetGame().GetMenuManager().IsAnyDialogOpen())
13 ArmaReforgerScripted.OpenPauseMenu();
17 protected void CloseEditorButton(Widget widget,
float value, EActionTrigger actionTrigger)
21 if (editorManagerEntity)
22 editorManagerEntity.Close();
26 override void HandlerAttached(Widget w)
28 Widget buttonWidget = w.FindAnyWidget(m_sPauseMenuButtonName);
32 buttonWidget = w.FindAnyWidget(m_sCloseEditorButtonName);