ScreenshotManager - Automated Screenshots in Unity

One thing you often have to do during development is take screenshots. You want to show what you're working on. Maybe you want to illustrate a small article on your blog. Or you're trying to get people excited about your game between half-naked boobs and gigachads on Instagram. To at least make taking screenshots easier, I've added a ScreenshotManager to this collection.

How to use it

ScreenshotManager is very easy to use. You can take a single screenshot at the push of a button. Alternatively, you can have it automatically take a picture every few seconds while you play the game. The latter has the advantage that you can capture actual, not posed gameplay. But it has the disadvantage that you capture actual, unstaged gameplay. If you know what I mean.

This is how you take a single screenshot:

ScreenshotManager.service?.CaptureScreenshot();

You can also change some settings via the Unity Editor:

  • key The key that must be pressed to take a screenshot.

  • folder The folder where the screenshots are stored.

  • automated If true, screenshots will be taken automatically at the specified interval.

  • automatedInterval The interval in seconds at which the screenshots will be taken.

Your Feedback is important!

What do you think of the services presented here? Is there anything missing or does something not work as expected? As always, I'm happy to listen to your feedback. Let me know what you think about this module. You can use the comment section below the article for this. You can also find other ways to contact me here. If you found a bug or want an enhancement, please create an issue in the GitHub repository. Further documentation can be found in the README of the corresponding module.

There are no comments yet.