Esempio n. 1
0
 private void Show()
 {
     AddScore(Time.deltaTime);
     //_scorePerSecondViewer.text = _scoreFormConverter.GetConvertedScorrePerSecond(_savedScore.ScorePerSecond);
     _scoreViewer.text = _scoreFormConverter.GetConvertedScore(_savedScore.Score);
     GameDataStorage.SaveScore(_levelName, _savedScore);
 }
Esempio n. 2
0
 public void AddingScorre(float scorre)
 {
     ScorePerSecond = _scorePerTime.GetValue(scorre, Time.timeSinceLevelLoad);
     ChangeScorre(scorre);
     GameDataStorage.SaveScore(Score, ScorePerSecond, _increaseTime);
 }