Example #1
0
 public void Tick(float d)
 {
     if (GameInputManager.CurrentInput.MenuExitD())
     {
         StartMenuEscapePressedEvent.Get().OnStartMenuEscapePressed();
     }
 }
Example #2
0
 private void Exit()
 {
     StartMenuEscapePressedEvent.Get().UnRegisterOnStartMenuEscapePressedEventAction(this.Exit);
     this.ControlsWindowGameObject.Hide();
     ControlsWindowExitedEvent.Get().OnControlsWindowExited();
 }
Example #3
0
 /// <summary>
 /// It registers to <see cref="StartMenuEscapePressedEvent"/> to exit the window <see cref="Exit"/>
 /// </summary>
 public void Show()
 {
     StartMenuEscapePressedEvent.Get().RegisterOnStartMenuEscapePressedEventAction(this.Exit);
     this.ControlsWindowGameObject.Show();
 }