x


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

more ▼

asked Jun 29 '12 at 08:07 PM

STARS gravatar image

STARS
48 4 8 8

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

I don't think a window is supposed to pop up. Check the project's folder, the file should be somwhere in there.

more ▼

answered Jun 30 '12 at 03:55 PM

Berenger gravatar image

Berenger
11k 12 19 53

OMG... 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

Jun 30 '12 at 06:21 PM STARS
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3330
x485
x36
x26
x2

asked: Jun 29 '12 at 08:07 PM

Seen: 554 times

Last Updated: Jun 30 '12 at 06:23 PM