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(); } }
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(); }); }
public void Exit() { _curtain.Hide(); }