found Spine recommendations for using code
using Spine.Unity;
public class YourComponent: MonoBehaviour {
SkeletonAnimation skeletonAnimation;
Spine.AnimationState animationState;
Skeleton skeleton;
void Awake () {
skeletonAnimation = GetComponent <SkeletonAnimation> ();
animationState = skeletonAnimation.AnimationState;
skeleton = skeletonAnimation.Skeleton;
}
In the line Skeleton skeleton; throws error CS0246 C # The type or namespace name could not be found
Itself has already decided the issue. Another library needed to be connected
using Spine;