コード例 #1
0
    private void Awake()
    {
        this.score     = 0;
        this.isPlaying = true;
        this.gameSpeed = GameSpeed.One;


        uiCountDown.StartCountDown();
    }
コード例 #2
0
ファイル: UIBoard.cs プロジェクト: mengtest/CarrotFantasy
    private void Awake()
    {
        this.Score     = 0;
        this.IsPlaying = true;
        this.Speed     = GameSpeed.One;

        //开始倒计时
        UICountDown.StartCountDown();
    }
コード例 #3
0
    private void OnEnable()
    {
        _uICountDown.CountDownIsFinished             += _uICountDown_CountDownIsFinished;
        SliderTimeController.Instance.GameIsFinished += OnGameIsFinished;

        _uiGamePanel.gameObject.SetActive(false);
        _uICountDown.gameObject.SetActive(true);
        _uICountDown.StartCountDown();

        ScoreManager.Instance.ResetPlayerScore();
    }