HKGalden科技臺
發表文章發起投票
[C#]寫咗個csv reader但唔work
using System;
using System.IO;
using UnityEngine;

public class Test : MonoBehaviour
{
void Start ()
{
string csv_path = Application.dataPath + "/sample.csv";
string[] values = File.ReadAllText (csv_path).Split (',');
Debug.Log (values);
}
}

無出error,但係console出
System.String[]
UnityEngine.Debug:Log(Object)

個string list係應該有野,
Good2Bad0
2017/06/19, 3:14:45 下午
本貼文共有 0 個回覆
此貼文已鎖,將不接受回覆
發表文章發起投票