I’m planning to use Google Play Game Services plugin’s “Saved Games” feature for my online game to save in-game currency. The file name will be an hard-coded constant for everybody.
So, how can i check if a Saved Game file exists or not?
@s-at-c
have you tried:
private static void OnSavedGameDataRead(SavedGameRequestStatus status, byte[] data){
bool fileNeverWritten = data.Length == 0;
}
This works for me on first time setup type things, then I write data… If you are creating the save file, then not writing data and then checking it, I’m not sure if it will work, I will test soon and update you.