瀏覽代碼

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

Harald Csaszar 6 年之前
父節點
當前提交
1dc7bbc5fa
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      spine-unity/Assets/Spine/Runtime/spine-unity/Components/PointFollower.cs

+ 1 - 1
spine-unity/Assets/Spine/Runtime/spine-unity/Components/PointFollower.cs

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