private void Awake() { this.score = 0; this.isPlaying = true; this.gameSpeed = GameSpeed.One; uiCountDown.StartCountDown(); }
private void Awake() { this.Score = 0; this.IsPlaying = true; this.Speed = GameSpeed.One; //开始倒计时 UICountDown.StartCountDown(); }
private void OnEnable() { _uICountDown.CountDownIsFinished += _uICountDown_CountDownIsFinished; SliderTimeController.Instance.GameIsFinished += OnGameIsFinished; _uiGamePanel.gameObject.SetActive(false); _uICountDown.gameObject.SetActive(true); _uICountDown.StartCountDown(); ScoreManager.Instance.ResetPlayerScore(); }