Skip to content

Commit

Permalink
[unity] Minor: whitespace fix to please automatic checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
HaraldCsaszar committed Apr 13, 2023
1 parent a09ec88 commit 245ff29
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -310,7 +310,7 @@ public enum LayoutMode {
base.Rebuild(update);
if (canvasRenderer.cull) return;
if (update == CanvasUpdate.PreRender) {
if (requiresInstructionUpate) PrepareInstructionsAndRenderers(isInRebuild : true);
if (requiresInstructionUpate) PrepareInstructionsAndRenderers(isInRebuild: true);
UpdateMeshToInstructions();
}
if (allowMultipleCanvasRenderers) canvasRenderer.Clear();
Expand Down 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 : 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 : isInRebuild);
DisableUnusedCanvasRenderers(usedCount: submeshCount, isInRebuild: isInRebuild);

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

0 comments on commit 245ff29

Please sign in to comment.