memphis004/9212026/cinemachine-set-priority
- community
Checking that the SKILL.md file is still in the repository.
Set the `Priority.Value` of a `CinemachineCamera`. The highest-priority active camera wins control of the `CinemachineBrain`.
Install
npx vskill@latest install memphis004/9212026/cinemachine-set-prioritySKILL.md
Cinemachine / Set Priority
Set the priority of a CinemachineCamera. When multiple CinemachineCameras are active, the one with the highest priority becomes live (drives the rendered view through the CinemachineBrain).
Inputs
gameObjectRef— the GameObject hosting theCinemachineCamera(required).priority— the new integer priority value.
Behavior
Assigns CinemachineCamera.Priority with the given value, marks the scene dirty, and repaints the Editor. The whole call runs on the Unity main thread.
How to Call
For complex input (multi-line strings, code), save the JSON to a file and use:```bashunity-mcp-cli run-tool cinemachine-set-priority --input-file args.json```Or pipe via stdin (recommended):```bashunity-mcp-cli run-tool cinemachine-set-priority --input-file - <<'EOF'{"param": "value"}EOF```
Troubleshooting
If unity-mcp-cli is not found, either install it globally (npm install -g unity-mcp-cli) or use npx unity-mcp-cli instead. Read the /unity-initial-setup skill for detailed installation instructions.
Input
| Name | Type | Required | Description | |
|---|---|---|---|---|
gameObjectRef | any | Yes | Reference to the GameObject containing the CinemachineCamera component. | |
priority | integer | Yes | The new priority value. Higher wins when multiple cameras are active. |
Input JSON Schema
Output
Output JSON Schema
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingMarooned/.opencode/skills/cinemachine-set-priority/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/memphis004/9212026/cinemachine-set-priority)