コード例 #1
0
    private void LoadSavegame(string path)
    {
        StartCoroutine(ShowLoading());
        SavegameLoading = true;
        Thread t = new Thread(() => {
            try
            {
                Controller.Instance.CurrentSavegame = Savegame.Decrypt(new System.IO.FileInfo(path));
                SavegameLoaded = true;
            }
            catch (Exception e)
            {
                SavegameError = e.Message;
            }
//			Controller.Instance.CurrentSavegame.Decrypt();
        });

        t.Start();
    }