public void setHighScore()
 {
     if (spawnerScript.getStartGame())
     {
         spawnerScript.setStartGame(false);
     }
     if (score > highScore)
     {
         PlayerPrefs.SetInt(playerPrefsHighscore, score);
         highScore = score;
     }
     StartCoroutine(textAnimation(2f));
 }