public List <SavegameInfo> GetAllGSIs() { var listOfSGIFileNames = Persist.GetAllSGIFileNames(); var listOfSGIs = new List <SavegameInfo>(); foreach (var sgiFileName in listOfSGIFileNames) { var sgiFile = Persist.Load <SavegameInfo>("SaveGames\\" + sgiFileName); if (sgiFile != null && sgiFile.GetType() == typeof(SavegameInfo)) { listOfSGIs.Add(Persist.Load <SavegameInfo>("SaveGames\\" + sgiFileName)); } else { Debug.LogWarning("Fehler beim Laden von: " + sgiFileName); } } return(listOfSGIs); }