[unity] Fixed PointFollower error message on script rebuild, closes #1261.

This commit is contained in:
Harald Csaszar 2019-01-22 12:27:00 +01:00
parent 68eeed67b8
commit 1dc7bbc5fa

View File

@ -90,7 +90,7 @@ namespace Spine.Unity {
bone = null;
point = null;
if (!string.IsNullOrEmpty(pointAttachmentName)) {
var skeleton = skeletonRenderer.skeleton;
var skeleton = skeletonRenderer.Skeleton;
int slotIndex = skeleton.FindSlotIndex(slotName);
if (slotIndex >= 0) {