mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 16:48:43 +08:00
20 lines
774 B
Markdown
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.
|