mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[unity] Fixed compile error on old Unity version 2017.1, introduced by commit 7d0833f. See #2275.
This commit is contained in:
parent
92728548b7
commit
a09ec88b16
@ -700,7 +700,7 @@ namespace Spine.Unity {
|
||||
if (!this.allowMultipleCanvasRenderers) {
|
||||
MeshGenerator.GenerateSingleSubmeshInstruction(currentInstructions, skeleton, null);
|
||||
if (canvasRenderers.Count > 0)
|
||||
DisableUnusedCanvasRenderers(usedCount: 0, isInRebuild);
|
||||
DisableUnusedCanvasRenderers(usedCount: 0, isInRebuild : isInRebuild);
|
||||
usedRenderersCount = 0;
|
||||
} else {
|
||||
MeshGenerator.GenerateSkeletonRendererInstruction(currentInstructions, skeleton, null,
|
||||
@ -934,7 +934,7 @@ namespace Spine.Unity {
|
||||
bool isInRebuild = false) {
|
||||
|
||||
int submeshCount = currentInstructions.submeshInstructions.Count;
|
||||
DisableUnusedCanvasRenderers(usedCount: submeshCount, isInRebuild);
|
||||
DisableUnusedCanvasRenderers(usedCount: submeshCount, isInRebuild : isInRebuild);
|
||||
|
||||
int separatorSlotGroupIndex = 0;
|
||||
int targetSiblingIndex = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user