cocos_add_spine_data
Import Spine skeleton animation assets (.json, .atlas, textures) into Cocos Creator projects for use with spine animation components.
Instructions
Import Spine skeleton assets (.json + .atlas + textures).
Returns {skeleton_data_uuid, atlas_uuid, textures, dir}. Use skeleton_data_uuid with cocos_add_spine().
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| spine_json_path | Yes | ||
| atlas_path | Yes | ||
| texture_paths | No | ||
| rel_dir | No |