// ESTABLISH USER BASE INFO
PlayerPrefs.SetInt (“id” , id);
PlayerPrefs.SetFloat (“cash” , cash);
PlayerPrefs.SetFloat (“level” , level);
PlayerPrefs.SetFloat (“car_ids” , car_ids );
Debug.Log ("id: " + PlayerPrefs.GetInt("id")); // returns int number
Debug.Log ("cash: " + PlayerPrefs.GetFloat("cash")); // returns float number
Debug.Log ("level: " + PlayerPrefs.GetFloat("level")); // returns 0
Debug.Log ("car_ids: " + PlayerPrefs.GetFloat("car_ids")); // returns 0
THat was the code , why 2 last player prefs does not work and returns just a 0???
this is inside my start function and : id = 54; cash = 2000f; level = 120f; car_ids = 10f