File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,9 @@ MCP Unityは、Unityの`Library/PackedCache`フォルダーをワークスペー
8383- ` add_asset_to_scene ` : AssetDatabaseからアセットをUnityシーンに追加
8484 > ** 例:** "プロジェクトからPlayerプレハブを現在のシーンに追加"
8585
86+ - ` create_prefab ` : プレハブを作成し、オプションでMonoBehaviourスクリプトとシリアライズされたフィールド値を設定
87+ > ** 例:** "'PlayerController'スクリプトから'Player'という名前のプレハブを作成"
88+
8689### MCPサーバーリソース
8790
8891- ` unity://menu-items ` : ` execute_menu_item ` ツールを容易にするために、Unityエディターで利用可能なすべてのメニュー項目のリストを取得
Original file line number Diff line number Diff line change @@ -85,6 +85,9 @@ The following tools are available for manipulating and querying Unity scenes and
8585- ` add_asset_to_scene ` : Adds an asset from the AssetDatabase to the Unity scene
8686 > ** Example prompt:** "Add the Player prefab from my project to the current scene"
8787
88+ - ` create_prefab ` : Creates a prefab with optional MonoBehaviour script and serialized field values
89+ > ** Example prompt:** "Create a prefab named 'Player' from the 'PlayerController' script"
90+
8891### MCP Server Resources
8992
9093- ` unity://menu-items ` : Retrieves a list of all available menu items in the Unity Editor to facilitate ` execute_menu_item ` tool
Original file line number Diff line number Diff line change @@ -84,6 +84,9 @@ MCP Unity 通过将 Unity `Library/PackedCache` 文件夹添加到您的工作
8484- ` add_asset_to_scene ` : 将 AssetDatabase 中的资源添加到 Unity 场景中
8585 > ** 示例提示:** "将我的项目中的 Player 预制体添加到当前场景"
8686
87+ - ` create_prefab ` : 创建预制体,并可选择添加 MonoBehaviour 脚本和设置序列化字段值
88+ > ** 示例提示:** "从 'PlayerController' 脚本创建一个名为 'Player' 的预制体"
89+
8790### MCP 服务器资源
8891
8992- ` unity://menu-items ` : 获取 Unity 编辑器中所有可用的菜单项列表,以方便 ` execute_menu_item ` 工具
You can’t perform that action at this time.
0 commit comments