How Unity imports binary Spine files

foreword

Always forget the setting of Spine exporting binary to Unity, record it.

step

1. Modify the extension name

The texture packer also modifies the extension name (daily operation)
modify extension

2. Modify parameters

Modify the extension of the atlas and check the atlas预乘Alpha
Modify the atlas extension

3. Export file

The following files can be exported
insert image description here

4. Import file

Drag the exported file directly to Unitythe project (premise: the project has installed the runtime library), and the corresponding SkeletonDatacharacter file can be generated in the directory
Import into Unity

5. Modify the shader properties

Modify Straight Alpha Texturethe properties of the material ball asTrue
modify shader

6. Generate animation

Simply drag SkeletonData into Hierarchy

reference

How to use Spine exported binaries

Guess you like

Origin blog.csdn.net/a71468293a/article/details/131573335