fix: correct scene_view positioned capture instructions#1126
Conversation
Document that view_position and view_rotation are invalid with capture_source="scene_view", and show the SceneView.LookAt() workflow for taking positioned Scene View screenshots.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughDocumentation in ChangesScene View Capture Guidance
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9f092b025f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Document that
view_positionandview_rotationare invalid withcapture_source="scene_view", and show theSceneView.LookAt()workflow for taking positioned Scene View screenshots.Description
Clarifies the Unity MCP skill guidance for taking positioned Scene View screenshots.
view_positionandview_rotationare not valid withcapture_source="scene_view", so the docs now show the correct workflow: move the Scene View withUnityEditor.SceneView.LookAt()first, then capture the Scene View as-is.Type of Change
Changes Made
view_positionandview_rotationreturn an error when used withcapture_source="scene_view".SceneView.LookAt()example usingexecute_codeto position the Scene View before capture.manage_cameracall should not passview_target,view_position, orview_rotationwhen capturing the positioned Scene View as-is.view_position/view_rotationfrom supportedview_targetframing.Testing/Screenshots/Recordings
Not run. Documentation-only change.
Documentation Updates
tools/UPDATE_DOCS_PROMPT.md(recommended)tools/UPDATE_DOCS.mdRelated Issues
None.
Additional Notes
This change does not modify tool behavior. It corrects agent-facing instructions so positioned Scene View screenshots use the supported
SceneView.LookAt()workflow.Summary by CodeRabbit