private List <Pickup> LoadHealthPotions(string PickupPath) { string Path = Application.dataPath + "/Scripts/Pickups/" + PickupPath; string[] MapData = FileIOHelper.FileDataToArray(Path); string JSONString = string.Join("", MapData); List <Pickup> output = new List <Pickup>(); output.Add(JsonUtility.FromJson <Pickup>(JSONString)); return(output); }