private void Start() { minRecord = 0; if (!PlayerPrefs.HasKey("MinRecord")) { PlayerPrefs.SetInt("MinRecord", minRecord); } minRecord = PlayerPrefs.GetInt("MinRecord"); Turns = 3; Scores = 0; turnsText.text = Turns.ToString(); scoresText.text = Scores.ToString(); AdsController.InitializeAdvertisment(); }