Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public SaveDatesForJolt()
 {
     s = this;
 }