fgui_create_component
Creates a new component in a specified FairyGUI package, opening it for editing. Handles duplicate names by rejecting them by default, with optional auto-rename and custom dimensions.
Instructions
在指定包中新建组件文档;默认打开但不保存,重名时默认拒绝。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| height | No | ||
| exported | No | ||
| auto_rename | No | ||
| folder_path | No | ||
| extension_id | No | ||
| package_name | Yes | ||
| component_name | Yes | ||
| create_folders | No | ||
| open_after_create | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||