Beispiel #1
0
 void FinishExercise()
 {
     PlayerPrefs.SetInt("LastPlanet", planetNum);
     PlayerPrefs.SetInt("LastContinent", continentNum);
     PlayerPrefs.SetInt("lastExercise", cityNum + 1);
     continentScript.CheckLockAllCities();
     showHint = true;
     taskPanelScript.SetHint(hint);
     if (cityNum == (amountOfExercises - 1))
     {
         PlayerPrefs.SetInt("lastExercise", 0);
         PlayerPrefs.SetInt("LastContinent", continentNum + 1);
         Debug.Log("DONE WITH WEEK " + continentNum);
     }
 }