Преглед на файлове

[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;
 			point = null;
 			if (!string.IsNullOrEmpty(pointAttachmentName)) {
-				var skeleton = skeletonRenderer.skeleton;
+				var skeleton = skeletonRenderer.Skeleton;
 
 				int slotIndex = skeleton.FindSlotIndex(slotName);
 				if (slotIndex >= 0) {