PlayerPrefs的使用和存储位置

Unity常用的轻量级存储方式,是通过使用XML、JSON等实现,还有一种更为使用方便的存储就是PlayerPrefs 1.存储数据的实现 PlayerPrefs.SetString(Key(string), Value(string));//存储字符串变量 PlayerPrefs.SetInt(Key(string), Value(Int));//存储int类型变量 PlayerPrefs.Se
相关文章
相关标签/搜索