public int level; public int coins; public float volume; public string lastPlayed; public List<string> unlockedItems;

public static bool TryLoadWithRepair(out PlayerSaveData data)

string path = Path.Combine(Application.persistentDataPath, "save.json"); if (File.Exists(path))