mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[unity] Fixed PointFollower error message on script rebuild, closes #1261.
This commit is contained in:
parent
68eeed67b8
commit
1dc7bbc5fa
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user