Hello! I'm received a lot of errors CS1061: Type Spine.Unity.SkeletonAnimation
does not contain a definition for Reset
and no extension method Reset
of type Spine.Unity.SkeletonAnimation
could be found (are you missing a using directive or an assembly reference?) For example one part of the code with Reset:
void Awake()
{
indicator.Reset();
gameObject.SetActive(false);
}
Error CS1061: Type Spine.Unity.BoneFollower
does not contain a definition for DoUpdate
and no extension method DoUpdate
of type Spine.Unity.BoneFollower
could be found (are you missing a using directive or an assembly reference?)
public void BindToTargetUnit(FormationUnit unit, SkeletonAnimation animation, string boneName)
{
followUnit = unit;
followBoneName = boneName;
gameObject.SetActive(true);
follower.SkeletonRenderer = animation;
currentTransform.SetParent(unit.RectTransform, false);
follower.followBoneRotation = false;
follower.followZPosition = true;
follower.bone = animation.Skeleton.FindBone(boneName);
follower.DoUpdate();
follower.enabled = false;
Destroy(follower);
skeletonAnimation.GetComponent<MeshRenderer>().sortingOrder = animation.GetComponent<MeshRenderer>().sortingOrder + 1;
}
And more CS1061 errors: Type Spine.TrackEntry
does not contain a definition for LastTime
and no extension method LastTime
of type Spine.TrackEntry
could be found (are you missing a using directive or an assembly reference?)
Before this, i'm received a lot of such erros about other "old" methods: EndTime
, MeshRenderer
, etc. But i have fixed them, using search in a forum, except this errors.
How to fix this errors, and where i can read documentation about all method changes?!