예제 #1
0
    private void CharSheetToMemory()
    {
        CharacterSheet tmpChar;
        string         charString;
        int            index = characterSheetList.value;

        charString = File.ReadAllText(ProfileStatic.ProfileFolderPath + characterSheetList.options[index].text + ".dat");
        charString = Decrypter.Decrypting(charString);
        tmpChar    = JsonUtility.FromJson <CharacterSheet>(charString);

        tmpChar.CharToStatic();
    }