AGENT SKILL
Unity 游戏视图截图
screenshot-game-view
从 Unity 编辑器 Game 视图截取屏幕截图并以图片形式返回。通过 Unity Editor API 直接读取 Game 视图自身的渲染纹理。图片尺寸与当前 Game 视图分辨率一致。直接返回图片供 LLM 进行视觉检查。
- License 许可
- MIT
- 最近更新
- 2026-04-12
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- screenshot-game-view
- description
- Captures a screenshot from the Unity Editor Game View and returns it as an image. Reads the Game View's own render texture directly via the Unity Editor API. The image size matches the current Game View resolution. Returns the image directly for visual inspection by the LLM.
02 资源文件 7
- 参考文档balance-manager-api.md5.7 KB
- 参考文档evals/evals.json5.8 KB
- 参考文档flash-loans.md3.3 KB
- 许可证LICENSE11.1 KB
- 参考文档pool-api.md6.9 KB
- 参考文档SOURCE.md329 B
- 参考文档TRUST.auto.yaml2.2 KB
03 SKILL.md 正文
Screenshot / Game View
Captures a screenshot from the Unity Editor Game View and returns it as an image. Reads the Game View's own render texture directly via the Unity Editor API. The image size matches the current Game View resolution. Returns the image directly for visual inspection by the LLM.
How to Call
HTTP API (Direct Tool Execution)
Execute this tool directly via the MCP Plugin HTTP API:
curl -X POST http://localhost:50187/api/tools/screenshot-game-view \
-H "Content-Type: application/json" \
-d '{}'
With Authorization (if required)
curl -X POST http://localhost:50187/api/tools/screenshot-game-view \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{}'
The token is stored in the file:
UserSettings/AI-Game-Developer-Config.jsonUsing the format:"token": "YOUR_TOKEN"
Input
This tool takes no input parameters.
Input JSON Schema
{
"type": "object"
}
Output
This tool does not return structured output.