Beispiel #1
0
    // Use this for initialization
    void Start()
    {
        path = Application.persistentDataPath + "\\";
        StreamReader sr = null;

        try{
            sr = File.OpenText(path + "game.dat");
        }catch {
            Debug.Log("cant open file");
        }
        tmpDES = sr.ReadLine();
        sr.Close();
        sr.Dispose();
        tmp           = Best.DecryptDES(tmpDES, "asdasfsfa");
        bestText.text = tmp;
    }