public void CalculateScoreEnemy_01(int EnemyPointValue)
    {
        score += EnemyPointValue;
        _uiManager.UpdateScore(score);

        Debug.Log("<color=yellow>AN ENEMY HAS BEEN KILLED</color>");
        Debug.Log("<color=yellow>Score :" + score + "</color>");
    }
Esempio n. 2
0
 public void AddScore(int points)
 {
     _score += points;
     _uiManager.UpdateScore(_score);
 }