Ejemplo n.º 1
0
        public CSVLine WhereIDEquals(string id)
        {
            CSVLine result = null;

            if (!dataContainer.TryGetValue(id, out result))
            {
                Debug.Log(string.Format("CSVTable WhereIDEquals: The line you want to get data from is not found. id:{0}", id));
            }
            return(result);
        }
Ejemplo n.º 2
0
 private void AddLine(string key, CSVLine line)
 {
     if (dataContainer.ContainsKey(key))
     {
         Debug.Log(string.Format("CSVTable AddLine: there is a same key you want to add. key = {0}", key));
     }
     else
     {
         dataContainer.Add(key, line);
     }
 }