unity-camera

Control Unity Scene View and Game Camera properties via editor commands.

8|1|Updated Oct 7, 2025
One-click install
npx skills add https://github.com/Zzulin/unity-project01 --skill unity-camera-zzulin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-camera
Source: https://github.com/Zzulin/unity-project01/tree/main/URP1/Plugins/Unity-Skills-main/SkillsForUnity/unity-skills~/skills/camera
Command: npx skills add https://github.com/Zzulin/unity-project01 --skill unity-camera-zzulin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unity developers need precise, repeatable control of the editor Scene View camera and associated Game Cameras without leaving the editor workflow.

Core Features & Use Cases

  • Align Scene View to objects with camera_align_view_to_object
  • Retrieve and display current Scene View camera position/rotation with camera_get_info
  • Manually set Scene View camera transform via camera_set_transform
  • Focus Scene View on a point with camera_look_at
  • Create and manage Game Cameras with camera_create and camera_set_properties
  • Inspect and modify Game Camera properties with camera_get_properties
  • Adjust orthographic/perspective mode with camera_set_orthographic
  • List all cameras with camera_list
  • Capture camera output to screenshots with camera_screenshot

Quick Start

Align the Scene View camera to look at a target object named 'Target'.

Frequently Asked Questions about unity-camera

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

FAQPage Schema
How do I align the Unity Scene View camera to a specific object?

You can align the Scene View camera using the camera_set_transform function to manually set position and rotation. This allows you to define exact coordinates for the Unity editor camera, ensuring repeatable viewport framing across sessions.

Can I create and manage Game Cameras in Unity using scripting?

Yes, you can create and manage Game Cameras in Unity using the camera_create and camera_set_properties functions. This supports configuring camera properties, adjusting orthographic or perspective modes, and listing all active cameras across scenes.

How do I get the current position and rotation of the Unity Scene View camera?

You can retrieve the current position and rotation of the Unity Scene View camera using the camera_get_info function. This queries and displays the exact transform data of the active editor camera for reference or automation workflows.

What is the best way to focus the Unity Scene View camera on a specific point?

The best way to focus the Unity Scene View camera on a specific point is using the camera_look_at function. This directs the editor viewport to center its view on the defined coordinates, simplifying scene navigation and object inspection.

Can I capture a screenshot from the Unity Scene View or Game Camera?

Yes, you can capture camera output to screenshots using the camera_screenshot function. This works for both the Unity Scene View camera and Game Cameras, allowing you to save the current viewport frame directly as an image file.

How do I switch the Unity Scene View camera between orthographic and perspective modes?

You can switch the Unity Scene View camera between orthographic and perspective modes using the camera_set_orthographic function. This adjusts the projection type of the editor camera, which is useful for precise level design and alignment tasks.