unity-edit-component | Skill Performance & Reviews | TopRankSkills

TopRank Skills

Home / Skills / tools / unity-edit-component

unity-edit-component

maintained by zoucdr

star 41 account_tree 6 verified_user MIT License
bolt View GitHub

name: unity-edit-component description: 编辑 GameObject 上的组件属性。

Unity MCP: edit_component

通过 args 传递参数。

参数 (args)

参数 类型 必填 说明
action string 操作: set_property, get_property, list_components
target string 目标 GameObject 路径
component string 组件类型名称
property string 属性名称
value any 要设置的属性值
  • set_property — 设置组件属性
  • get_property — 获取组件属性
  • list_components — 列出 GameObject 上的所有组件

示例参数

{ "action": "set_property", "target": "Player", "component": "Rigidbody", "property": "mass", "value": 1.5 }

响应

成功: { "success": true, "data": ... }. 失败: { "success": false, "message": "...", "error": "..." }.

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!

Skill Details

GitHub Stars 41
GitHub Forks 6
Created Mar 2026
Last Updated il y a 3 mois
tools tools ide plugins

Related Skills

writing-skills
chevron_right
codex
chevron_right
smart-illustrator
chevron_right
collaborating-with-codex
chevron_right
code-review-router
chevron_right

Build your own?

Join 12,000+ developers contributing to the Claude ecosystem.