public static void SetSavesWithBytes(byte[] b) { MemoryStream ms = new MemoryStream(b); BinaryFormatter bf = new BinaryFormatter(); s = (SaveDatesForJolt)bf.Deserialize(ms); Debug.Log("Saves set: " + s.saveProps.Count + " : " + s.savedGames.Count); }
public SaveDatesForJolt() { s = this; }