Exemplo n.º 1
0
    public static void SaveXidData(XIDScan scan)
    {
        BinaryFormatter formatter = new BinaryFormatter();
        string          path      = Application.persistentDataPath + "/XidData.xlenz";
        FileStream      stream    = new FileStream(path, FileMode.Create);
        XidData         data      = new XidData(scan);

        formatter.Serialize(stream, data);
        stream.Close();
        Debug.Log("Succesfully Saved Xid Data in the file");
    }
Exemplo n.º 2
0
 public XidData(XIDScan scan)
 {
 }