- تم التحرير
error CS0246: `SkeletonAnimation' could not be found.
Hi,
I want to preview chain of my Spine animations on Unity, so I tried writing scripts.
But the following error message appeared:
=======
error CS0246: The type or namespace name `SkeletonAnimation' could not be found. Are you missing a using directive or an assembly reference?
I searched similar case but I can't find it.
My operating environment is here.
・Mac OS X El Capitan
・Spine 3.4.02 Professional
・Unity 5.4.2
And, I tried it with the example file in this page.
http://ja.esotericsoftware.com/spine-unity
I have read this page, and I use the Sample Code but the error happened...
http://ja.esotericsoftware.com/spine-unity-events
Do you think what is wrong?
Thanks in advance
Add
using Spine;
using Spine.Unity;
In your file.
using System.Collections;
using UnityEngine;
using Spine;
using Spine.Unity;
public class %%%% : MonoBehaviour {
//////////////
}