So there is this game where I am using File I/O to store game data like high score and all that. It works fine in windows pc build(.exe) but I cant load the high score on android app.
I am just using a simple file name that gets created(if not exist) in the executable directory but same code doesn't seems to be working with android.
Is there a catch between working directories of android and windows pc? Please help..
string dataFile = Constants.GameDataFilePath;
gameDataFile = File.Open(dataFile, FileMode.OpenOrCreate,
FileAccess.Read,
FileShare.None);