Пример #1
0
 public static void DeleteFile(Saving.SaveKey fileName)
 {
     if (Ref.FileExists(fileName))
     {
         PlayerPrefs.DeleteKey(fileName.ToString());
     }
 }
Пример #2
0
 private static bool CanResumeGame()
 {
     return(Ref.FileExists(Saving.SaveKey.PersistantGameSave) && GameSaving.GameSave.LoadPersistant().mainVesselId != -1);
 }