Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
WidgetLibraryMenuUI.c
Go to the documentation of this file.
1 //------------------------------------------------------------------------------------------------
3 {
4  //------------------------------------------------------------------------------------------------
5  override void OnMenuOpen()
6  {
7  super.OnMenuOpen();
8  SCR_InputButtonComponent back = SCR_InputButtonComponent.GetInputButtonComponent("Back",GetRootWidget());
9  if (back)
10  back.m_OnActivated.Insert(OnBack);
11  }
12 
13  //------------------------------------------------------------------------------------------------
14  void OnBack()
15  {
16  GameStateTransitions.RequestGameplayEndTransition();
17  }
18 };
ChimeraMenuBase
Constant variables used in various menus.
Definition: ChimeraMenuBase.c:70
GetRootWidget
Widget GetRootWidget()
Definition: SCR_UITaskManagerComponent.c:160
GameStateTransitions
Definition: GameStateTransitions.c:12
WidgetLibraryMenuUI
Definition: WidgetLibraryMenuUI.c:2
SCR_InputButtonComponent
Definition: SCR_InputButtonComponent.c:1