How do I read/write file? I can not find such a class with the key word "file"

txt is ok,but it must be readable/writable

–Eric

YES, of course you can. Usually it done through System.IO (.Net). So, if you dont know more about this calss or even .net. You can start here :
http://msdn.microsoft.com/en-us/library/29kt2zfk.aspx

And if you are not a great programmer just need a Unity Example you can study and understand it, this is an old project in how to make tile maps by reading/writing text files :
http://forum.unity3d.com/threads/7613-Simple-2D-game-example

Note that, it is very powerful way, i used DotNet classes to read and write huge ammount of data through txt XML files, i can save UNlimited ammount of data using this methods, like saveing more than 15 variable for the character each “Frame” and reapeating all that data (what everr the size of frames) again in another character smoothly :smile:

goodluck
m;

I find the system.io.file at msdn.trouble is…How do I let monoeditor reference the dll file??? System.io.file is in the assembly mscorlib.dll,And I copy this dll into unity project.but I dont know how to ref it?the editor doest know…How…

bbb

You don’t copy any dlls, it’s all built-in.

–Eric