2013-04-27 13:44:06 +02:00

20 lines
774 B
Markdown

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
1. Copy `spine-csharp/src` to `spine-unity/Assets/Plugins/Spine/spine-csharp`.
1. Delete the `Assets/examples/Unity 3.5` directory.
1. Open the `Assets/examples/Unity 4/spineboy.unity` scene.
# Unity 3.5.7
Note that you **must** delete the `Unity 4` directory or Unity will crash.
1. Copy `spine-csharp/src` to `spine-unity/Assets/Plugins/Spine/spine-csharp`.
1. Delete the `Assets/examples/Unity 4` directory.
1. Open the `Assets/examples/Unity 3.5/spineboy.unity` scene.
# Notes
- Atlas images should use premultiplied alpha.