Unity3d 实现本地存取删档--PlayerPrefs

PlayerPrefsspa 是以 Key键-Value值的形式进行储存与读取的,每个 Key关键字(Key 值保证惟一 )对应一个 Value值,储存以后,咱们再经过指定惟一的Key 能够获得其以前对应储存的 Value // 存ci PlayerPrefs.SetInt("level", 1);//关卡string PlayerPrefs.SetInt("scores", 100);//分数c
相关文章
相关标签/搜索