写text
string str="test text";
File.WriteAllText(Application.streamingAssetsPath+@"/myoutput.txt", str);
读text
string path =Application.streamingAssetsPath+@"/myoutput.txt";
string[] contents = File.ReadAllLines(path, Encoding.Default);
写text
string str="test text";
File.WriteAllText(Application.streamingAssetsPath+@"/myoutput.txt", str);
读text
string path =Application.streamingAssetsPath+@"/myoutput.txt";
string[] contents = File.ReadAllLines(path, Encoding.Default);
微信扫码登录