Writing to a text file in resource folder

i have a text file in my resource folder which i can read. i am just wondering how can i write to it and save it?

this is the code i use to access my text file in the folder:

var tempAsset: TextAsset = Resources.Load(“2011”, TextAsset);
var myString: String = tempAsset.text;

You can’t. Also, there is no separate Resources folder in a build. If it’s not much text, look into PlayerPrefs instead. For larger files, use System.IO.File classes, keeping in mind that the places where you can read/write on the device are quite restricted.

–Eric