cara menyimpan beberapa variabel di perangkat di Unity

//Example using the PlayerPrefs system to store integers on the local device storage
//Writing data
PlayerPrefs.SetInt("myPref", 5);
//Reading data
myint = PlayerPrefs.GetInt("myInt");
Encouraging Eland