|
8 éve | |
---|---|---|
.. | ||
Assets | 8 éve | |
LICENSE | 8 éve | |
README.md | 8 éve | |
README.pdf | 11 éve | |
Spine.mdpolicy | 10 éve |
The spine-unity runtime provides functionality to load, manipulate and render Spine skeletal animation data using Unity. spine-unity is based on spine-csharp.
For more documentation, see spine-unity Documentation.
While spine-unity can render directly with Unity, without the need for any other plugins, it also works with 2D Toolkit and can render skeletons using a TK2D texture atlas.
This Spine Runtime may only be used for personal or internal use, typically to evaluate Spine before purchasing. If you would like to incorporate a Spine Runtime into your applications, distribute software containing a Spine Runtime, or modify a Spine Runtime, then you will need a valid Spine license. Please see the Spine Runtimes Software License for detailed information.
The Spine Runtimes are developed with the intent to be used with data exported from Spine. By purchasing Spine, Section 2
of the Spine Software License grants the right to create and distribute derivative works of the Spine Runtimes.
spine-unity works with data exported from Spine 3.6.xx.
spine-unity supports all Spine features.
Unity's physics components do not support dynamically assigned vertices so they cannot be used to mirror bone-weighted and deformed BoundingBoxAttachments. However, BoundingBoxAttachment vertices at runtime will still deform correctly and can be used to perform manual hit detection.
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 forum thread has many videos on how to use spine-unity.
For more documentation, see spine-unity Documentation.
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.
You can also choose to setup and run from the Git files:
spine-csharp
and spine-unity
.
spine-csharp/src
to Assets/spine-csharp
in your Unity project directory.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 in Unity. It needs to be at the root of your assets folder to function correctly. (ie.Assets/Gizmos
spine-csharp
andspine-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 and updating,
More resources:
Spine/Skeleton
or Spine/SkeletonLit
).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.