Exemplo n.º 1
0
        public void PopulateData()
        {
            string path = Application.dataPath + "/" + Path;

            ReadCsv rcsv = new ReadCsv();

            rcsv.ReadFromCsv(path);
            lines = rcsv.GetLines();
        }
Exemplo n.º 2
0
        public void PopulateData()
        {
            string path = Application.dataPath + "/" + Path;

            string[] pathElements = path.Split('.');
            if (pathElements[pathElements.Length - 1] != "csv")
            {
                path += ".csv";
            }

            ReadCsv rcsv = new ReadCsv();

            rcsv.ReadFromCsv(path);
            lines = rcsv.GetLines();
        }