// *** Ends method of scene on replay. //------------------------------------ // ***Starts method to take a picture. public void takePicture() { DateTime dt = DateTime.Now; String strDate = ""; strDate = dt.ToString("yyyy.MM.dd HH.mm.ss"); screenShotName = String.Format("Time A Scene." + strDate + ".jpg"); try { myPath = "/storage/emulated/0/Pictures/" + screenShotName; // my path android snapShot.CaptureAndSaveAtPath(myPath); // Call method to take a screen shot and save it in to early chosen path. Debug.Log("Screenshot has been taken and saved."); } catch { Debug.Log("Screenshot cannot be save in to: " + myPath); } }