Exemplo n.º 1
0
 // Delete last removed photo permanently
 private void DeletePhotoPermanently()
 {
     if (recentlyDeleted)
     {
         Sprite permanentDeletion = recentlyDeleted.GetComponent <Image>().sprite;
         photoService.DeletePhoto(permanentDeletion);
     }
 }
 private void DeletePhotosPermanently()
 {
     foreach (Thumbnail t in recentlyDeleted)
     {
         photos.DeletePhoto(t.Photo);
         Destroy(t.gameObject);
     }
     recentlyDeleted.Clear();
 }