예제 #1
0
 void AddScore(int difference)
 {
     score += difference;
     scoreText.SetScore(score);
 }
예제 #2
0
 public void CollectiblePicked(int value)
 {
     currentValue += (int)(value * playerScript.GetPointMultiplier() * (DataManager.instance.selectedLevel + 1));
     scoreText.SetScore(currentValue);
 }