static void Postfix()
 {
     if (UiManager.Instance.ClickedQuickSkirmish)
     {
         Main.Logger.Log($"[SkirmishSettingsBetaLaunchMapPatch Postfix] Patching LaunchMap");
         UiManager.Instance.ClickedQuickSkirmish     = false;
         UiManager.Instance.ReadyToLoadQuickSkirmish = false;
         LoadingCurtain.Hide();
         LoadingCurtain.HACK_ClearClosingConditionals();
     }
 }
Beispiel #2
0
 private void Start()
 {
     NextLevelButton.onClick.AddListener(() =>
     {
         TimeControl.Instance.SpeedUp();
         TimeControl.Instance.RunGame();
         loadingCurtain.Show();
         loadingCurtain.Hide();
         player.ResetHealth();
         player.Shooter.SetReload(1.5f);
         HUD.UpdateHealthBar();
         levelContainer.currentLevel.Started?.Invoke(levelContainer.currentLevel);
         Close();
     });
 }
Beispiel #3
0
 public void Exit()
 {
     _curtain.Hide();
 }