This section introduces how to import Spine animation assets into the Galacean editor.
For details on Spine and engine version compatibility, see: Version/Performance Section
The first step is to export your Spine animation assets from the Spine editor. Complete steps can be found in the Spine User Guide:
Below is a brief workflow for exporting Spine assets:
After completing your animation, click Spine Menu > Export to open the export window.
Select Binary in the top-left corner of the export window (Recommended: Binary format reduces file size and improves loading speed compared to JSON).
Check the Texture Atlas Packing checkbox.
Click Pack Settings.
This refers to texture packing settings. For configuration details, refer to the official documentation. After configuring, click OK.
Return to the export window, select an export folder, then click Export.
After exporting, you will get three files:
After opening the editor, drag the exported files directly into the Asset Panel to complete the upload, as shown in the following animation:
After uploading, the asset panel will display the uploaded Spine assets, including: SpineSkeletonData asset, SpineAtlas asset, and texture assets.
The SpineSkeletonData asset stores skeleton data and references the generated SpineAtlas asset.
Clicking the asset allows you to preview the Spine animation in the inspector, where you can switch between skins and animation clips:
The SpineAtlas asset stores the texture atlas file and references required Texture assets.
Clicking the asset allows you to view its referenced textures and Spine atlas information in the inspector:
To update your Spine assets, re-export them from the Spine editor and re-import into the Galacean editor to overwrite existing files.
Next Section: Adding and Using