mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
95ceb64920
@ -125,7 +125,6 @@ public class tk2dSpineSkeleton : MonoBehaviour, tk2dRuntime.ISpriteCollectionFor
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
renderer.sharedMaterial = skeletonDataAsset.spritesData.inst.materials[0];
|
|
||||||
#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
UpdateEditorGizmo();
|
UpdateEditorGizmo();
|
||||||
#endif
|
#endif
|
||||||
@ -140,6 +139,9 @@ public class tk2dSpineSkeleton : MonoBehaviour, tk2dRuntime.ISpriteCollectionFor
|
|||||||
if (attachment is RegionAttachment) quadCount++;
|
if (attachment is RegionAttachment) quadCount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if UNITY_EDITOR
|
||||||
|
if (mesh.subMeshCount == submeshIndices.Count)
|
||||||
|
#endif
|
||||||
if (quadCount == cachedQuadCount) return;
|
if (quadCount == cachedQuadCount) return;
|
||||||
|
|
||||||
cachedQuadCount = quadCount;
|
cachedQuadCount = quadCount;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user