Skip to content

Articles about unity

Thoughts on software development, games, design, and the things I learn along the way.

Advertisement Talescape
Capture Screenshot in Unity

Capture Screenshot in Unity

Screenshots can be created very easily in Unity using the ScreenCapture class respectively the CaptureScreenshot method. You can use the class defined below. Just create a new script CaptureScreenshot.cs and paste the code there. Then you just have to attach the new MonoBehaviour to a GameObject. You can select the folder and the key afterwards simply inside the Inspector. Screenshots will be saved in your system folder Pictures.