Best score with unity-android playerprefs

1

Hello. I did a normal best score system in unity (when score > playerprefs, it will set the text of the textmesh). On the computer it worked, but when I step to Android the bestscore gets 0 Someone would know what iss is

    
asked by anonymous 11.01.2015 / 13:13

1 answer

1

Friend, see if it's not related to the playerprefs path on Android, because it's different from the PC.

On Android they are stored in the phone's internal memory at /data/data/appname/shared_prefs/appname.xml .

Where appname is the complete package identifier for example com.mycomany.example . Good studies!

    
12.01.2015 / 02:55