Exemplo n.º 1
0
 public void OnApplicationQuit()
 {
     if (gameCell.value == null)
     {
         FileWrapper.RemoveIfExists(saveFileName);
     }
     else
     {
         gameCell.value.SaveToJsonFile(saveFileName);
     }
 }