Hello,
I’m developing an android game and I wrote some code that i learned from unity3d.com to save and load data onto and from a file. And no I’m not using playerPrefs, I’m using FileStream. So my question is, when should I save data to the file?? If i quit my application and start again it doesn’t show the saved high score. I tested my code and it does save and load correctly when I press the buttons i used for debugging.
I used OnApplicationQuit() so it saves whenever i quit the application, but it didn’t work.