public static void Load() { string loadSaveData = PlayerPrefs.GetString("SaveData", ""); if (loadSaveData != "") { SaveData saveData = JsonUtility.FromJson <SaveData>(loadSaveData); LevelProgression.Load(saveData.levelProgressionSave); } }
public static void Load() { string loadSaveData = PlayerPrefs.GetString("SaveData", ""); if (loadSaveData != "") { SaveData saveData = JsonUtility.FromJson <SaveData>(loadSaveData); LevelProgression.Load(saveData.levelProgressionSave); } }