- Home /
unity 3d fullscreen mode and screenshooting
For my game, whenever I screenshot the screen while it's in fullscreen mode, the output image is all black with the top reading "unity window FS". It doesn't screen shot properly.
Answer by ThibaultD · Sep 18, 2012 at 05:50 AM
Screenshots taken with the dedicated key on the keyboard are black (except graphic artifacts) but screenshots taken with the method Application.CaptureScreenshot() should be fine.
How do I write that screenshot into the clipboard buffer?
You Can Do Screenshots Like This
using UnityEngine;
using System.Collections;
public class ScreenShotTake : $$anonymous$$onoBehaviour {
private int ScreenShotInt = 1;
void Update() {
if(Input.Get$$anonymous$$eyDown($$anonymous$$eyCode.F2)) {
Application.CaptureScreenshot("Screenshot" + ScreenShotInt + ".png");
ScreenShotInt++;
}
}
}
That Should Output Screenshots When You Press F2, And It Will Save Them As Screenshot1.png, Screenshot2.png ETC
Your answer
Follow this Question
Related Questions
Download Screenshot 1 Answer
Output shader to image 1 Answer
How Can I Generate a Thumbnail from the Screen? 2 Answers
resize screenshot 2 Answers
Texture.Apply() Crashes at Resolutions under 1920x1080 1 Answer