You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/skills/unity-mcp-skill/references/tools-reference.md
+127-1Lines changed: 127 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ Complete reference for all MCP tools. Each tool includes parameters, types, and
15
15
-[UI Tools](#ui-tools)
16
16
-[Editor Control Tools](#editor-control-tools)
17
17
-[Testing Tools](#testing-tools)
18
+
-[Camera Tools](#camera-tools)
18
19
-[ProBuilder Tools](#probuilder-tools)
19
20
20
21
---
@@ -793,6 +794,131 @@ Discover available custom tools via `mcpforunity://custom-tools` resource.
793
794
794
795
---
795
796
797
+
## Camera Tools
798
+
799
+
### manage_camera
800
+
801
+
Unified camera management (Unity Camera + Cinemachine). Works without Cinemachine using basic Camera; unlocks presets, pipelines, and blending when Cinemachine is installed. Use `ping` to check availability.
802
+
803
+
**Parameters:**
804
+
805
+
| Parameter | Type | Required | Description |
806
+
|-----------|------|----------|-------------|
807
+
|`action`| string | Yes | Action to perform (see categories below) |
808
+
|`target`| string | Sometimes | Target camera (name, path, or instance ID) |
809
+
|`search_method`| string | No |`by_id`, `by_name`, `by_path`|
810
+
|`properties`| dict \| string | No | Action-specific parameters |
811
+
812
+
**Screenshot parameters** (for `screenshot` and `screenshot_multiview` actions):
813
+
814
+
| Parameter | Type | Description |
815
+
|-----------|------|-------------|
816
+
|`camera`| string | Camera to capture from (defaults to Camera.main) |
-`ping` — Check Cinemachine availability and version
828
+
-`ensure_brain` — Ensure CinemachineBrain exists on main camera. Properties: `camera` (target camera), `defaultBlendStyle`, `defaultBlendDuration`
829
+
-`get_brain_status` — Get Brain state (active camera, blend status)
830
+
831
+
**Creation:**
832
+
-`create_camera` — Create camera with optional preset. Properties: `name`, `preset` (follow/third_person/freelook/dolly/static/top_down/side_scroller), `follow`, `lookAt`, `priority`, `fieldOfView`. Falls back to basic Camera without Cinemachine.
- Tier 1 actions (ping, create_camera, set_target, set_lens, set_priority, list_cameras, screenshot, screenshot_multiview) work without Cinemachine — they fall back to basic Unity Camera.
916
+
- Tier 2 actions (ensure_brain, get_brain_status, set_body, set_aim, set_noise, add/remove_extension, set_blend, force_camera, release_override) require `com.unity.cinemachine`. If called without Cinemachine, they return an error with a fallback suggestion.
917
+
918
+
**Resource:** Read `mcpforunity://scene/cameras` for current camera state before modifying.
When `com.unity.probuilder` is installed, prefer ProBuilder shapes over primitive GameObjects for any geometry that needs editing, multi-material faces, or non-trivial shapes. Check availability first with `manage_probuilder(action="ping")`.
0 commit comments