unity-camera

تایید شده

Scene View camera control. Use when users want to move, rotate, or align the editor camera view. Triggers: camera, view, scene view, look at, align, viewport, 相机, 摄像机, 视角.

@Besty0728
MIT۱۴۰۴/۱۱/۳۰
(0)
۱۳۷ستاره
۰دانلود
۲بازدید

نصب مهارت

مهارت‌ها کدهای شخص ثالث از مخازن عمومی GitHub هستند. SkillHub الگوهای مخرب شناخته‌شده را اسکن می‌کند اما نمی‌تواند امنیت را تضمین کند. قبل از نصب، کد منبع را بررسی کنید.

نصب سراسری (سطح کاربر):

npx skillhub install Besty0728/Unity-Skills/unity-camera

نصب در پروژه فعلی:

npx skillhub install Besty0728/Unity-Skills/unity-camera --project

مسیر پیشنهادی: ~/.claude/skills/unity-camera/

محتوای SKILL.md

---
name: unity-camera
description: "Scene View camera control. Use when users want to move, rotate, or align the editor camera view. Triggers: camera, view, scene view, look at, align, viewport, 相机, 摄像机, 视角."
---

# Camera Skills

Control the Scene View camera.

## Skills

### `camera_align_view_to_object`
Align Scene View camera to look at an object.
**Parameters:**
- `objectName` (string): Name of the target GameObject.

### `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 point.
**Parameters:**
- `x`, `y`, `z` (float): Target point.