- Home /
Take screenshot script doesn't work
Hi...
I got the script from here then created a new C# script in Unity and renamed it as TakeScreenshot then replaced the new script codes with one of the scripts in that web page. finally dragged it into an empty game object.. pressed F9 and nothin happened. I got no error and as I read the script I'm sure that a window should pop up for saving the shot. What am I donin wrong ?
ThX in AdVaNcE...
Saman
Answer by Berenger · Jun 30, 2012 at 03:55 PM
I don't think a window is supposed to pop up. Check the project's folder, the file should be somwhere in there.
O$$anonymous$$G... Am I blind or sth ? :D It was right there in my project folder. I shoulda searched the screenshotFilename at least.... it was simply "screenshot" + screenshotCount + ".png"
Thank YOU Berenger
Your answer
![](https://koobas.hobune.stream/wayback/20220613073501im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Script wont read array 2 Answers
script works and after unity close doesnt work 0 Answers
Replace "Transform" by my Mouse Target 1 Answer
How to take a high-resolution screenshot including OnGUI()? 1 Answer
Screen position orientation flipping 1 Answer