Exemplo n.º 1
0
 public void AddSaveObject(Save_Object obj)
 {
     if (m_allSaveData.Contains(obj))
     {
         Debug.Log("重复加入存储列表");
         return;
     }
     obj.ReadFile();
     m_allSaveData.Add(obj);
 }
Exemplo n.º 2
0
 public void RemoveSaveObject(Save_Object obj)
 {
     if (m_allSaveData.Contains(obj))
     {
         m_allSaveData.Remove(obj);
     }
     else
     {
         Debug.Log("要移除的存储结构不在存储列表中");
     }
 }
 public void testCalendar(Save_Object saveObject)
 {
     EventLog.WriteEntry("ICSNET", saveObject.Value.GetType().ToString());
 }