Esempio n. 1
0
 public void OnApplicationQuit()
 {
     if (LoadSaveOnStart)
     {
         PlayerData data = new PlayerData("Player", vulnerabilites, values, stats, modifiers, statusTimers);
         data.Values        = values;
         data.Stats         = stats;
         data.StatusEffects = statusTimers;
         data.Modifiers     = modifiers;
         DataSave.Save(data);
     }
 }
Esempio n. 2
0
 public void SaveCurrentFile()
 {
     m_dataStream.Save(m_data);
 }