Quick question about absolute paths
Posted: Thu Jun 10, 2021 3:06 pm
Hi Moodkie community!
I'm trying to combine ES3 with unity's user reporting so I get a save file everytime the players submit a report. However, to do this I need to get the absolute file path of the save file regardless of platform (my game is for win, OSX & linux). I found this page in the documentation https://docs.moodkie.com/easy-save-3/es ... ons/#paths which talks about paths, but I'm wondering if using
Application.persistentDataPath + "\"+saveFileName;
would work for all platforms? If not is there a way to automatically get the full path of the current directory?
In advance, thanks!
Cheers,
Rafa
I'm trying to combine ES3 with unity's user reporting so I get a save file everytime the players submit a report. However, to do this I need to get the absolute file path of the save file regardless of platform (my game is for win, OSX & linux). I found this page in the documentation https://docs.moodkie.com/easy-save-3/es ... ons/#paths which talks about paths, but I'm wondering if using
Application.persistentDataPath + "\"+saveFileName;
would work for all platforms? If not is there a way to automatically get the full path of the current directory?
In advance, thanks!
Cheers,
Rafa