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
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
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!