unity-camera

Automates Scene and Game Camera alignment, rotation, creation, property modification, and screenshots in Unity via scripting APIs.

Updated May 9, 2026
One-click install
npx skills add https://github.com/krikommp/chess-game --skill unity-camera-krikommp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-camera
Source: https://github.com/krikommp/chess-game/tree/main/.agents/skills/unity-skills/skills/camera
Command: npx skills add https://github.com/krikommp/chess-game --skill unity-camera-krikommp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires UnityEngine, UnityEditor, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

The unity-camera Skill solves the problem of manually managing and controlling the camera in Unity game development, allowing developers to automate camera operations without complex scripting.

Core Features & Use Cases

  • Camera Transformation: Align, move, and rotate the scene camera to specific points or objects.
  • Camera Creation and Properties: Create game cameras and modify properties like field of view, clipping planes, and background color.
  • Screenshot Capture: Capture screenshots from a game camera to a file location.
  • Use Case: Simplify the process of setting up cameras in Unity scenes for developers who want to create dynamic camera behaviors or capture in-game images without manual code editing.

Quick Start

Load the unity-camera skill and use the 'camera_look_at' action to set the Scene View camera to focus on the GameObject 'Player'.

Frequently Asked Questions about unity-camera

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

FAQPage Schema
How do I automate Unity camera alignment and rotation without writing custom scripts?

Automating Unity camera alignment and rotation is achieved by using targeted actions to move and focus the Scene View camera on specific GameObjects. This eliminates manual code editing by directly modifying camera transformations via Unity scripting APIs.

Can I modify Unity camera properties like field of view and clipping planes programmatically?

Yes, you can modify Unity camera properties like field of view, clipping planes, and background color programmatically. The Skill creates game cameras and adjusts their properties automatically, bypassing the need for manual component configuration.

What is the best way to capture in-game screenshots from a Unity camera to a file?

The best way to capture in-game screenshots from a Unity camera is to use an automated capture action that renders the game camera view directly to a specified file location, streamlining the image extraction process for developers.

Do I need the UnityEngine and UnityEditor APIs to set up virtual camera systems?

Yes, you need the UnityEngine and UnityEditor APIs to set up virtual camera systems. The Skill relies on these core engine dependencies to execute camera creation, property modification, and scene view automation commands.

Why does my Unity scene camera focus on the wrong object during automated transformations?

When a Unity scene camera focuses on the wrong object during automated transformations, it indicates the target GameObject parameter needs explicit specification. Using a dedicated look-at action ensures the camera aligns precisely with the intended target.

When do I need to use a dedicated skill for Unity camera control over manual scripting?

You need a dedicated skill for Unity camera control over manual scripting when setting up dynamic camera behaviors or capturing in-game images across multiple scenes. It automates complex camera operations efficiently without requiring manual code maintenance.