- Home /
How to managing text file
I want to use file I/O for my game.
the problem is file path and serializing.
In the editor, there is no serializing so There is no problem with use file I/0.
But When I build the game(android, IOS, pc etc...), Files are serialized and I can not find the path!!
Streaming asset is good but There is no serializing in those files and It's not good for me.
How can I solve this problem. I want your Ideas.
Answer by gregzo · Jul 26, 2013 at 08:50 AM
Check out Application.persistentDataPath.
If I use Application.persistentDataPath, can I get file path with no worried about serializing?
Well, you do have to write and read the file somehow, using System.IO or a framework ( UnitySerializer is free and great ).
Your answer
Follow this Question
Related Questions
High score local [Android] 1 Answer
Reading from a file not working on Android 0 Answers
Searching through a text file with Unity? 4 Answers
How to get info from a text file 1 Answer
GUI Menu Display Help 2 Answers