screenshot-game-view

Capture Unity Editor Game View screenshots and return them as image data.

Updated Feb 4, 2024
One-click install
npx skills add https://github.com/sprillion/gem_td --skill screenshot-game-view-sprillion
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: screenshot-game-view
Source: https://github.com/sprillion/gem_td/tree/main/SKILLS/screenshot-game-view
Command: npx skills add https://github.com/sprillion/gem_td --skill screenshot-game-view-sprillion

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Captures a screenshot from the Unity Editor Game View and returns it as an image, enabling quick visual checks within development workflows.

Core Features & Use Cases

  • Unity Game View capture: reads the Game View's render texture directly via the Unity Editor API to produce an image at the current resolution.
  • Direct image output: returns the captured image for immediate visual inspection by developers, designers, or AI models.
  • Use Case: validate UI layouts and scene previews across different Game View sizes without leaving the editor.

Quick Start

Invoke the tool to capture the active Unity Editor Game View screenshot and return it as an image.

Frequently Asked Questions about screenshot-game-view

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I capture a Unity Editor Game View screenshot programmatically?

You can capture a Unity Editor Game View screenshot by invoking this tool, which reads the Game View's render texture via the Unity Editor API and returns an image at the current resolution for immediate visual inspection.

What is the best way to automate visual testing of UI layouts across different Game View resolutions?

Automating visual testing of UI layouts across resolutions involves capturing the Game View render texture and returning image data directly to developers, designers, or AI models for quick verification without leaving the Unity editor.

Does this Game View screenshot tool work without setting up additional dependencies?

Yes, this Game View screenshot tool works without additional dependencies, using the built-in Unity Editor API to directly access the Game View render texture and output image data.

Can I use captured Game View screenshots for QA workflows to verify scene previews?

Yes, you can use captured Game View screenshots in QA workflows to validate UI layouts and verify scene previews quickly, returning the image data for review.

Why does my Unity Game View screenshot only capture at the current resolution?

Unity Game View screenshots capture at the current resolution because the tool reads the active Game View's render texture, producing an image that matches the exact dimensions currently set in the editor.