mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
The Spine runtime for Unity comes with an example project which has "spineboy" walking. When clicked, he jumps and the transition to/from walking/jumping is blended smoothly.
Requirements
- Unity 4.2+
Instructions
- Copy
spine-csharp/srctospine-unity/Assets/Spine/spine-csharp. - Open the
Assets/examples/spineboy/spineboy.unityscene.
Setup Tutorial Video
Notes
- Atlas images should use premultiplied alpha.
- Unity scales large images down by default if they exceed 1024x1024, which causes the altas coordinates to be incorrect. To fix this, override the import settings in the Inspector for any large atlas image you have so Unity does not scale it down.
