Beispiel #1
0
 public void LoadData()
 {
     CoinScript.SetScore(PlayerPrefs.GetInt("Score"));
     //PlayerThrow.SetNumberOfBones(PlayerPrefs.GetInt("Bones"));
     NeoHealthSystemScript.SetNumberOfCurrentLifes(PlayerPrefs.GetInt("Health"));
     Player.GetComponent <MovementScript>().SetTime(PlayerPrefs.GetFloat("Timer"));
     EasterEggs_Script.SetEasterEggs(PlayerPrefs.GetInt("Eggs"));
 }