fgui_import_image
Import an image from an absolute local file path into a FairyGUI package. Resolve naming conflicts with error, auto-rename, or replace, and optionally save and verify.
Instructions
从绝对本地路径导入图片;这是磁盘写入操作,支持拒绝、自动改名或替换同名图片。
save=True 保存包与工程后默认比对 package.xml 条目和资源文件;external_reload=True(需 save=True)卸载并重新加载 asset 再比对,响应 strength 为 reload / disk / none。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| verify | No | ||
| exported | No | ||
| folder_path | No | ||
| source_path | Yes | ||
| package_name | Yes | ||
| resource_name | No | ||
| create_folders | No | ||
| conflict_policy | No | error | |
| external_reload | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||