NathanSweet 80fdba02a1 Refactoring: RegionAttachment vertices, texture->rendererObject...
- Vertices are no longer stored on RegionAttachment. The vertices are temporary state, not part of RegionAttachment's persistent state like UVs and offset.
- AtlasPage and RegionAttachment "texture" field is renamed to "rendererObject". This is a better name as it may not be a texture.
- AtlasAttachmentLoader uses the AtlasRegion as the rendererObject. This enables a renderer to use region information if needed. The page rendererObject is still available.
- Better "enum" look up for AS3.
- Unity4 example doesn't use a compressed material.
2013-05-05 12:37:24 +02: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. Use the instructions below for your version of Unity.

Unity 4

  1. Copy spine-csharp/src to spine-unity/Assets/Plugins/Spine/spine-csharp.
  2. Delete the Assets/examples/Unity 3.5 directory.
  3. 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.
  2. Delete the Assets/examples/Unity 4 directory.
  3. Open the Assets/examples/Unity 3.5/spineboy.unity scene.

Notes

  • Atlas images should use premultiplied alpha.