private void UpdateLevelNumber() { if (selectedLevel < 10) { levelNumber.text = "0" + selectedLevel.ToString(); } else { levelNumber.text = selectedLevel.ToString(); } if (selectedLevel > unlockedLevels) { levelNumber.color = lockedTextColor; lockImage.gameObject.SetActive(true); } else { levelNumber.color = unlockedTextColor; lockImage.gameObject.SetActive(false); } starsController.SetStars(PlayerPrefs.GetInt("Rating" + selectedLevel, 0)); menuAnimator.SetTrigger("starsPop"); }