• Unity
  • Skeleton Animation Doesn't exist

Hey first post. My artist in the group is using spine and I am having trouble using the skeletonanimation through code.

Whenever I try and declare a SkeletonAnimation variable the visual studio isn't recognizing the script as a class like at all. It will how try and change it to the interface that SkeletonAnimation is implementing.

I have been working on this for about an hour now and would like to know if there are any helpful hints to this or I am just missing something simple.

I am using Unity 5.3.4.f

Thanks

Related Discussions
...

Most Spine-Unity classes are in the Spine.Unity namespace.
Some of the modules belong in the Spine.Unity.Modules namespace.

The base Spine classes belong in the Spine namespace.

So for most uses if your class is interacting with Spine classes, you just need to add the following to the top of your script.

using Spine;
using Spine.Unity;
//using Spine.Unity.Modules; // if you are using some of the optional/specialized modules

Thank you sir. I was already using Spine but Spine.Unity did the trick.