Answer the question
In order to leave comments, you need to log in
Is it possible to store files inside the game folder?
I have files with data about rooms, studies, statistics, etc. stored as follows
string Path= Application.persistentDataPath + "/Data/Game/Info.txt";
string w = "какая-то информация";
StreamWriter sw;
sw = new StreamWriter(Path);
sw.WriteLine(w);
sw.Close();
Answer the question
In order to leave comments, you need to log in
The whole problem is in the rights in the file system.
Not even a computer, storing data next to the .exe is not particularly difficult. But if the game is installed in ProgramFiles, then admin rights will be required for recording. And such a game will most likely go to the forest.
On mobile, this is not possible at all.
But in general, the problem itself is not worth a damn, if the user himself deleted the saves, why ask questions about where they are?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question