How can I assign a variable “TextAsset” a .txt file that is stored locally ? … the file was created after the completion of the game
I tried with the www but does not work.
thank you!
How can I assign a variable “TextAsset” a .txt file that is stored locally ? … the file was created after the completion of the game
I tried with the www but does not work.
thank you!
Use the System.IO classes.
–Eric
Thanks for the advice …
System.IO is what I look, now works !!!
i have the same idea but i dont know how i do …
private var path = Application.dataPath.Substring(0, Application.dataPath.Length - 4) + “Documents/Level.txt” ;
i use this to read a file from iphone application documents .
to read read i use System.IO
I hope to be helpful