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