public void SetNormalScore(int score) //When score is below highscore { menu.ToggleMenu(true); cameraController.SetPosition(Vector2.zero); highScore = score > highScore ? score : highScore; menu.textHighScore.text = "" + highScore; PlayerPrefs.SetInt("Highscore1", highScore); if (adManager) { adManager.CheckAd(); } if (hintManager) { HintManager.CheckHints(); } if (analyticsManager) { analyticsManager.OnScore(score); } }