示例#1
0
    public void SetBoard()
    {
        UpdateScore(0);
        gameTimer          = 0.001f;
        _currentDifficulty = difficultyCurve.Evaluate(gameTimer / MaxGameTime);

        frog.gameObject.SetActive(true);
        map.GenerateMap();
        flyCountBar.SetValue(0);
        hudPanel.SetActive(true);

        startPanel.SetActive(false);
        gameOverPanel.SetActive(false);

        AudioManager.Instance.PlayBG();
    }
示例#2
0
 void Update()
 {
     _fillBar.SetValue(_playerInput.LaunchPower);
 }
示例#3
0
 void Update()
 {
     _fillBar.SetValue(_timer.Current);
 }