[unity] Minor: whitespace fix to please automatic checks.

This commit is contained in:
Harald Csaszar 2023-04-13 18:14:37 +02:00
parent a09ec88b16
commit 245ff29b26

View File

@ -310,7 +310,7 @@ namespace Spine.Unity {
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();
@ -700,7 +700,7 @@ namespace Spine.Unity {
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,
@ -934,7 +934,7 @@ namespace Spine.Unity {
bool isInRebuild = false) {
int submeshCount = currentInstructions.submeshInstructions.Count;
DisableUnusedCanvasRenderers(usedCount: submeshCount, isInRebuild : isInRebuild);
DisableUnusedCanvasRenderers(usedCount: submeshCount, isInRebuild: isInRebuild);
int separatorSlotGroupIndex = 0;
int targetSiblingIndex = 0;