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();
     }
 }
예제 #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();
     });
 }
예제 #3
0
 public void Exit()
 {
     _curtain.Hide();
 }