mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
This better matches "setup mode" in the editor and we can be consistent in code and docs from now on.
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. Use the instructions below for your version of Unity.
Unity 4
- Copy
spine-csharp/srctospine-unity/Assets/Plugins/Spine/spine-csharp. - Delete the
Assets/examples/Unity 3.5directory. - Open the
Assets/examples/Unity 4/spineboy.unityscene.
Unity 3.5.7
Note that you must delete the Unity 4 directory or Unity will crash.
- Copy
spine-csharp/srctospine-unity/Assets/Plugins/Spine/spine-csharp. - Delete the
Assets/examples/Unity 4directory. - Open the
Assets/examples/Unity 3.5/spineboy.unityscene.
Notes
- Atlas images should use premultiplied alpha.