Skip to content

Commit

Permalink
[unity] Fixed compile error on old Unity version 2017.1, introduced b…
Browse files Browse the repository at this point in the history
…y commit 7d0833f. See #2275.
  • Loading branch information
HaraldCsaszar committed Apr 13, 2023
1 parent 9272854 commit a09ec88
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -700,7 +700,7 @@ public enum LayoutMode {
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,
Expand Down Expand Up @@ -934,7 +934,7 @@ public enum LayoutMode {
bool isInRebuild = false) {

int submeshCount = currentInstructions.submeshInstructions.Count;
DisableUnusedCanvasRenderers(usedCount: submeshCount, isInRebuild);
DisableUnusedCanvasRenderers(usedCount: submeshCount, isInRebuild : isInRebuild);

int separatorSlotGroupIndex = 0;
int targetSiblingIndex = 0;
Expand Down

0 comments on commit a09ec88

Please sign in to comment.