fgui_create_component
Create a new FairyGUI component document in a target package; opens it by default, saves only when requested, and rejects duplicate names unless auto-rename is enabled.
Instructions
在指定包中新建组件文档;默认打开但不保存,重名时默认拒绝。
save=True 保存包与工程后默认比对 package.xml 条目;组件类资源没有可靠的 asset 重载手段,external_reload 不可用,strength 上限为 disk。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| width | No | ||
| height | No | ||
| verify | 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 | |||