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(); }
void Update() { _fillBar.SetValue(_playerInput.LaunchPower); }
void Update() { _fillBar.SetValue(_timer.Current); }