public void Score() { score++; if (score > highScore) { highScore = score; UpdateHighScore(); } if (score % 5 == 0) { quests.AddRestCharges(1); } isScored = true; onScoredEvent.Invoke(); }
public void Score() { score++; if (score > highScore) { highScore = score; UpdateHighScore(); } if (score % 5 == 0) { quests.AddRestCharges(1); } isScored = true; onScoredEvent.Invoke(); }