void Update() { if (_currentScore < _score) { _currentScore += (_score - _currentScore) * Time.deltaTime * 2f; if (_currentScore >= _score - 0.4f) { _currentScore = _score; } Label.text = ScoreLabelBehavior.FormatScore(_currentScore); } }
void Start() { Label.text = ScoreLabelBehavior.FormatScore(UserSession.LastScore); }