Esempio n. 1
0
    void OnGUI()
    {
        if (GUILayout.Button("TestCSV"))
        {
            LogUtil.Log(System.DateTime.Now.Millisecond);
            CsvTable table = CsvTable.FromFile(GlobalConfig.GAME_DATA_PATH + "/Instance.csv");
            LogUtil.Log(System.DateTime.Now.Millisecond);
            int index = table.GetColumnIndex("ID");
            LogUtil.LogWarning("index", index);

            CsvTable.SaveFile(table, GlobalConfig.GAME_DATA_PATH + "/Instances.csv");
        }
    }