Simpan Bool Menggunakan PlayerPrefs

PlayerPrefs.SetInt("foo", foo?1:0);
foo = PlayerPrefs.GetInt("foo")==1?true:false;
Ultrabooba