質問するログイン新規登録

質問編集履歴

1

テキスト保存先追加

2017/12/04 07:54

投稿

kou_627
kou_627

スコア6

title CHANGED
File without changes
body CHANGED
@@ -47,7 +47,7 @@
47
47
  public void textsave(string txt)
48
48
  {
49
49
  FileInfo fi = new FileInfo(Application.dataPath + "Scripts/test.csv");
50
- StreamWriter sw = fi.AppendText(); //true=追記 false=上書き
50
+ StreamWriter sw = fi.AppendText();
51
51
  sw.WriteLine(time.ToString("F3"));
52
52
  sw.Flush();
53
53
  sw.Close();