mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-22 02:06:03 +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;
|
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) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user