Exemplo n.º 1
0
    public static void Save()
    {
        SaveData saveData = new SaveData {
            levelProgressionSave = LevelProgression.Save()
        };

        PlayerPrefs.SetString("SaveData", JsonUtility.ToJson(saveData));
        PlayerPrefs.Save();
    }