public void CheckOnePicture() { currentLargePhoto = UnityEngine.EventSystems.EventSystem.current.currentSelectedGameObject.transform.parent.gameObject as GameObject; Sprite thisButtonImg = currentLargePhoto.GetComponentInChildren <Image>().sprite; savedPhotoLarge.GetComponent <Image>().sprite = thisButtonImg; FinalCameraController.AlbumToLargePicture(); }