質問編集履歴

1

filの変数の扱い方修正

2022/08/18 14:36

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -21,12 +21,12 @@
21
21
  public class Gazeget : MonoBehaviour
22
22
  {
23
23
 
24
-
24
+ private FileInfo fil;
25
25
 
26
26
  void Start()
27
27
  {
28
28
  string filepath = UnityEngine.Application.persistentDataPath + "/data.csv";
29
- var fil = new FileInfo(filepath);
29
+ fil = new FileInfo(filepath);
30
30
 
31
31
  }
32
32