- Home /
Question by
randombinaries · Apr 08, 2012 at 10:13 PM ·
javascriptgamevariabletext file
How to write & read a string into a text file?
Can you write a string variable in Javascript to a text file and then be able to read it back into the game using the text file? Thank you for your help.
Comment
I searched UnityAnswers for the search string "file io" and found lots of matches. I suggest you try the same and see if any of these meet your needs.
Answer by Paulius-Liekis · Apr 09, 2012 at 03:03 PM
Look into TextAsset, PlayerPrefs and file IO. One of these will be a solution to your problem.