public void IncreaseScoreByOne() { if (levelWon) { return; } score++; progressBar.ChangeBarFill(score, (float)lightsAtStart.currentValue); if (score == lightsAtStart.currentValue) { LevelWon(); } }
public void IncreaseScoreByOne() { if (levelWon) { return; } score++; progressBar.ChangeBarFill(score, (float)lightsAtStart.currentValue); if (score == lightsAtStart.currentValue) { LevelWon(); } }