public void NewPhotoSet(Sprite[] imgs, string caption) { currentIndex = 0; currentImages = imgs; HelperExtensions.DestroyAllChildren(ImageParent.transform); PopulateGallery(caption); }