Token导航 LogoToken导航TokenDH.com
待分类权限需确认github未标认证来源可访问许可证需确认审计通过

unity-cameraUnity camera 命令行

Agent Skill

unity-camera 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

318

周安装

13

GitHub Stars

886

下载量

102
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:unity-camera(Unity camera 命令行)
来源仓库:https://github.com/besty0728/unity-skills
仓库路径:skills/unity-camera
安装命令:
npx skills add https://github.com/besty0728/unity-skills --skill unity-camera
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/besty0728/unity-skills --skill unity-camera

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在需要围绕仓库状态、代码变更或协作事项进行整理时使用。
  • 可结合来源仓库和原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态及是否会触发联网或文件读写。
  • unity-camera 属于待分类类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Camera Skills

Control the Scene View camera.

Guardrails

Mode: Full-Auto required

DO NOT (common hallucinations):

  • camera_move / camera_rotate do not exist → use camera_set_transform (Scene View) or gameobject_set_transform (Game Camera)
  • camera_set_fov does not exist → use camera_set_properties with fieldOfView parameter
  • camera_* skills control two different cameras: camera_set_transform/camera_look_at/camera_align_view_to_object control the Scene View camera; camera_create/camera_set_properties/camera_screenshot control Game Cameras
  • camera_delete does not exist → use gameobject_delete on the camera GameObject

Routing:

  • For Cinemachine virtual cameras → use cinemachine module
  • For Game Camera component properties → camera_set_properties / camera_get_properties (this module)
  • For scene screenshots → scene_screenshot (scene module) uses the Scene View; camera_screenshot uses a Game Camera

Skills

camera_align_view_to_object

Align Scene View camera to look at an object. Parameters:

  • name (string, optional): Target GameObject name.
  • instanceId (int, optional): Target GameObject instance ID.
  • path (string, optional): Target GameObject hierarchy path.

camera_get_info

Get Scene View camera position and rotation. Parameters: None.

camera_set_transform

Set Scene View camera position/rotation manually. Parameters:

  • posX, posY, posZ (float): Position.
  • rotX, rotY, rotZ (float): Rotation (Euler).
  • size (float, optional): Orthographic size or distance.
  • instant (bool, optional): Move instantly (default true).

camera_look_at

Focus Scene View camera on a world-space point. Parameters:

  • x, y, z (float): Target point.
  • Does not support targetName or GameObject lookup. For object focus, use camera_align_view_to_object.

camera_create

Create a new Game Camera.

ParameterTypeRequiredDefaultDescription
namestringNo"New Camera"Name of the new camera GameObject
xfloatNo0Position X
yfloatNo1Position Y
zfloatNo-10Position Z

Returns: {success, name, instanceId}

camera_get_properties

Get Game Camera properties (supports name/instanceId/path).

ParameterTypeRequiredDefaultDescription
namestringNonullName of the camera GameObject
instanceIdintNo0Instance ID of the camera GameObject
pathstringNonullHierarchy path of the camera GameObject

Returns: {success, name, fieldOfView, nearClipPlane, farClipPlane, orthographic, orthographicSize, depth, cullingMask, clearFlags, backgroundColor, rect}

camera_set_properties

Set Game Camera properties (FOV, clip planes, clear flags, background color, depth).

ParameterTypeRequiredDefaultDescription
namestringNonullName of the camera GameObject
instanceIdintNo0Instance ID of the camera GameObject
pathstringNonullHierarchy path of the camera GameObject
fieldOfViewfloat?NonullCamera field of view
nearClipPlanefloat?NonullNear clipping plane distance
farClipPlanefloat?NonullFar clipping plane distance
depthfloat?NonullCamera rendering depth
clearFlagsstringNonullClear flags (e.g. Skybox, SolidColor, Depth, Nothing)
bgRfloat?NonullBackground color red component
bgGfloat?NonullBackground color green component
bgBfloat?NonullBackground color blue component

Returns: {success, name}

camera_set_culling_mask

Set Game Camera culling mask by layer names (comma-separated).

ParameterTypeRequiredDefaultDescription
layerNamesstringYes-Comma-separated layer names
namestringNonullName of the camera GameObject
instanceIdintNo0Instance ID of the camera GameObject
pathstringNonullHierarchy path of the camera GameObject

Returns: {success, cullingMask}

camera_screenshot

Capture a screenshot from a Game Camera to file.

ParameterTypeRequiredDefaultDescription
savePathstringNo"Assets/screenshot.png"File path to save the screenshot
widthintNo1920Screenshot width in pixels
heightintNo1080Screenshot height in pixels
namestringNonullName of the camera GameObject
instanceIdintNo0Instance ID of the camera GameObject
pathstringNonullHierarchy path of the camera GameObject

Returns: {success, path, width, height}

camera_set_orthographic

Switch Game Camera between orthographic and perspective mode.

ParameterTypeRequiredDefaultDescription
orthographicboolYes-True for orthographic, false for perspective
orthographicSizefloat?NonullOrthographic size (only applies in orthographic mode)
namestringNonullName of the camera GameObject
instanceIdintNo0Instance ID of the camera GameObject
pathstringNonullHierarchy path of the camera GameObject

Returns: {success, orthographic, orthographicSize}

camera_list

List all cameras in the scene.

ParameterTypeRequiredDefaultDescription

Returns: {count, cameras: [{name, instanceId, path, depth, orthographic, enabled}]}


Exact Signatures

Exact names, parameters, defaults, and returns are defined by GET /skills/schema or unity_skills.get_skill_schema(), not by this file.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.18%
按下载量换算34

Claude

32.65%
按下载量换算33

Cursor

18.43%
按下载量换算19

Gemini CLI

9.58%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills