void Finish() { DestroyAll(); pres_r.SetActive(true); Time.timeScale = 0; if (HighScore2.score > HighScore2.highscore) { HighScore2.highscore = HighScore2.score; } HighScore2.Reset(); }
void Finish() { DestroyAll(); pres_r.SetActive(true); if (HighScore.score > HighScore.highscore) { HighScore.highscore = HighScore.score; } HighScore.Reset(); HighScore2.Reset(); }