예제 #1
0
 public PlayerData(ScoreData data)
 {
     score = data.GetScore();
     coins = data.GetCoins();
 }
예제 #2
0
 private void UpdateScoreText()
 {
     _text.text = "Score: " + _saver.GetScore() + "\nCoins: " + _saver.GetCoins();
 }