|
@@ -24,33 +24,13 @@ Unity's physics components do not support dynamically assigned vertices so they
|
|
|
|
|
|
A Spine skeleton GameObject (a GameObject with a SkeletonAnimation component on it) can be used throughout Unity like any other GameObject. It renders through `MeshRenderer`.
|
|
A Spine skeleton GameObject (a GameObject with a SkeletonAnimation component on it) can be used throughout Unity like any other GameObject. It renders through `MeshRenderer`.
|
|
|
|
|
|
-`SkeletonUtility` allows other GameObjects to interact with the Spine skeleton, to control bones in the skeleton, be controlled by the skeleton, attach colliders, etc.
|
|
|
|
-
|
|
|
|
-For advanced uses and specific optimization cases, Spine skeletons can be "baked" into native Unity animation assets. Since Unity's animation feature-set does not overlap with Spine's perfectly, baked assets have many limitations and removed features. For most uses, baking is not necessary.
|
|
|
|
-
|
|
|
|
-The [Spine Unity Features Tutorial](http://esotericsoftware.com/forum/Unity-Feature-Tutorials-4839) forum thread has many videos on how to use spine-unity.
|
|
|
|
-
|
|
|
|
-For more documentation, see [spine-unity Documentation](http://esotericsoftware.com/spine-unity).
|
|
|
|
|
|
+See [spine-unity Documentation](http://esotericsoftware.com/spine-unity).
|
|
|
|
|
|
## Quick installation
|
|
## Quick installation
|
|
|
|
|
|
Download the latest Spine-Unity unitypackage from the download page: http://esotericsoftware.com/spine-unity-download/
|
|
Download the latest Spine-Unity unitypackage from the download page: http://esotericsoftware.com/spine-unity-download/
|
|
|
|
|
|
-In the `Assets/Examples/Scenes` folder you will find many example scenes that demonstrate various spine-unity features.
|
|
|
|
-
|
|
|
|
-## Manual installation
|
|
|
|
-
|
|
|
|
-You can also choose to setup and run from the Git files:
|
|
|
|
-
|
|
|
|
-1. Download the Spine Runtimes source using [git](https://help.github.com/articles/set-up-git) or by downloading it as a zip via the download button above.
|
|
|
|
-2. spine-unity requires both `spine-csharp` and `spine-unity`.
|
|
|
|
- - Copy the contents of `spine-csharp/src` to `Assets/spine-csharp` in your Unity project directory.
|
|
|
|
- - Copy the contents of `spine-unity/Assets` to `Assets` in your Unity project directory. Including `Gizmos` and `spine-unity` and `Examples` if you want them.
|
|
|
|
-
|
|
|
|
-> - `Gizmos` is a [special folder](http://docs.unity3d.com/Manual/SpecialFolders.html) in Unity. It needs to be at the root of your assets folder to function correctly. (ie. `Assets/Gizmos`
|
|
|
|
-- `spine-csharp` and `spine-unity` can be placed in any subfolder you want.
|
|
|
|
-
|
|
|
|
-For more information on importing the runtime into your Unity project, see the documentation sections on [installing](http://esotericsoftware.com/spine-unity#Installing) and [updating](http://esotericsoftware.com/spine-unity#Updating-Your-Projects-SpineUnity-Runtime),
|
|
|
|
|
|
+In the `Assets/Spine Examples/Scenes` folder you will find many example scenes that demonstrate various spine-unity features.
|
|
|
|
|
|
----------
|
|
----------
|
|
|
|
|
|
@@ -64,5 +44,4 @@ For more information on importing the runtime into your Unity project, see the d
|
|
|
|
|
|
- This slightly outdated [spine-unity tutorial video](http://www.youtube.com/watch?v=x1umSQulghA) may still be useful.
|
|
- This slightly outdated [spine-unity tutorial video](http://www.youtube.com/watch?v=x1umSQulghA) may still be useful.
|
|
- Atlas images should use **Premultiplied Alpha** when using the shaders that come with spine-unity (`Spine/Skeleton` or `Spine/SkeletonLit`).
|
|
- Atlas images should use **Premultiplied Alpha** when using the shaders that come with spine-unity (`Spine/Skeleton` or `Spine/SkeletonLit`).
|
|
-- Texture sizes: Unity scales large images down by default if they exceed 1024x1024. This can cause atlas coordinates to be incorrect. To fix this, make sure to set import settings in the Inspector for any large atlas image you have so Unity does not scale it down.
|
|
|
|
- Texture artifacts from compression: Unity's 2D project defaults import new images added to the project with the Texture Type "Sprite". This can cause artifacts when using the `Spine/Skeleton` shader. To avoid these artifacts, make sure the Texture Type is set to "Texture". spine-unity's automatic import will attempt to apply these settings but in the process of updating your textures, these settings may be reverted.
|
|
- Texture artifacts from compression: Unity's 2D project defaults import new images added to the project with the Texture Type "Sprite". This can cause artifacts when using the `Spine/Skeleton` shader. To avoid these artifacts, make sure the Texture Type is set to "Texture". spine-unity's automatic import will attempt to apply these settings but in the process of updating your textures, these settings may be reverted.
|