Hello,
I am working on a project and in this project i need to do something like, saving screen in smartphone’s library or taking a part of this screen’s screen shot and save this screen shot in smartphone’s library. There will be a button in screen, when player press on this button, the screen shot / save will work. Any idea how can i do that?
You can capture screenshots using Application.CaptureScreenshot, which will create a PNG file. If you want to capture multiple screenshots, without overwriting the previous one, I’d write it as follows
(C#)
if (GUI.Button("Take screenshot") )
{
DateTime currentDate = DateTime.Now;
Application.CaptureScreenshot("Screenshot " + currentDate.ToString());
}
were does it save screen shot to plz
It saves it to the gallery but sometimes you should restart your phone to see the screen shot.