Ejemplo n.º 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();
    }
Ejemplo n.º 2
0
 void Update()
 {
     _fillBar.SetValue(_playerInput.LaunchPower);
 }
Ejemplo n.º 3
0
 void Update()
 {
     _fillBar.SetValue(_timer.Current);
 }