HKGalden科技臺
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係應該有野,
20 2017/06/19, 3:14:45 下午