unity-camera

Control Unity Scene View and Game Cameras including creation, transforms, properties, and screenshots.

Updated Aug 18, 2026
One-click install
npx skills add https://github.com/ethanJPope/Our-Main-Hackathon-Game --skill unity-camera-ethanjpope
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-camera
Source: https://github.com/ethanJPope/Our-Main-Hackathon-Game/tree/main/.agents/skills/unity-skills/skills/camera
Command: npx skills add https://github.com/ethanJPope/Our-Main-Hackathon-Game --skill unity-camera-ethanjpope

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing cameras in Unity requires switching between the editor Scene View and Game Cameras, each with different APIs for transforms, FOV, clipping planes, and rendering. This Skill unifies those operations into callable skills so an AI agent can frame views, create cameras, adjust rendering properties, and capture screenshots without manual editor interaction. ## Core Features & Use Cases - Scene View Camera Control: Set position/rotation, focus on world points, or align the view to a specific GameObject. - Game Camera Management: Create cameras, read and write properties (FOV, clip planes, clear flags, background color, depth), set culling masks by layer name, and toggle orthographic mode. - Screenshot Capture: Render from a single Game Camera off-screen or capture the editor Scene View with overlays, saving to file or returning base64 for remote clients. - Use Case: Ask the agent to create a camera at a specific position, set its field of view to 60, assign it to the UI layer only, and capture a 1920x1080 screenshot to verify the framing. ## Quick Start Create a new Unity camera named Main Camera at position 0, 1, -10 and take a screenshot from it saved to Assets/screenshot.png.

Frequently Asked Questions about unity-camera

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

FAQPage Schema
How do I create and configure a camera in Unity with an AI agent?

Use camera_create to spawn a Game Camera with a name and position, then camera_set_properties to adjust fieldOfView, nearClipPlane, farClipPlane, depth, clearFlags, and background color. The response echoes the post-write state so no extra verification call is needed.

How to capture a screenshot from a Unity camera?

Use camera_screenshot for an off-screen render from a single Game Camera, camera_sceneview_screenshot for the editor Scene View including grid and gizmos, or scene_screenshot for the final Game View composite. Each saves a PNG to a file path with optional base64 return.

What is the difference between camera_get_info and camera_get_properties in Unity?

camera_get_info returns the editor Scene View viewport camera's position and rotation, not a scene Camera component. camera_get_properties reads a Game Camera's FOV, clip planes, orthographic state, depth, and culling mask by name, instanceId, or path.

Can I move a Unity camera with camera_move or set FOV with camera_set_fov?

No, those skills do not exist. Use camera_set_transform for the Scene View camera or gameobject_set_transform for a Game Camera's transform, and set fieldOfView through camera_set_properties. Deleting a camera is done via gameobject_delete on its GameObject.

Does this Unity camera skill support Cinemachine virtual cameras?

No, Cinemachine virtual cameras are routed to the separate cinemachine module. This module handles the Scene View camera and standard Game Camera components only, including properties, culling masks, orthographic mode, and screenshots.