mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 17:56:04 +08:00
[unity] Minor: whitespace fix to please automatic checks.
This commit is contained in:
parent
a09ec88b16
commit
245ff29b26
@ -310,7 +310,7 @@ namespace Spine.Unity {
|
|||||||
base.Rebuild(update);
|
base.Rebuild(update);
|
||||||
if (canvasRenderer.cull) return;
|
if (canvasRenderer.cull) return;
|
||||||
if (update == CanvasUpdate.PreRender) {
|
if (update == CanvasUpdate.PreRender) {
|
||||||
if (requiresInstructionUpate) PrepareInstructionsAndRenderers(isInRebuild : true);
|
if (requiresInstructionUpate) PrepareInstructionsAndRenderers(isInRebuild: true);
|
||||||
UpdateMeshToInstructions();
|
UpdateMeshToInstructions();
|
||||||
}
|
}
|
||||||
if (allowMultipleCanvasRenderers) canvasRenderer.Clear();
|
if (allowMultipleCanvasRenderers) canvasRenderer.Clear();
|
||||||
@ -700,7 +700,7 @@ namespace Spine.Unity {
|
|||||||
if (!this.allowMultipleCanvasRenderers) {
|
if (!this.allowMultipleCanvasRenderers) {
|
||||||
MeshGenerator.GenerateSingleSubmeshInstruction(currentInstructions, skeleton, null);
|
MeshGenerator.GenerateSingleSubmeshInstruction(currentInstructions, skeleton, null);
|
||||||
if (canvasRenderers.Count > 0)
|
if (canvasRenderers.Count > 0)
|
||||||
DisableUnusedCanvasRenderers(usedCount: 0, isInRebuild : isInRebuild);
|
DisableUnusedCanvasRenderers(usedCount: 0, isInRebuild: isInRebuild);
|
||||||
usedRenderersCount = 0;
|
usedRenderersCount = 0;
|
||||||
} else {
|
} else {
|
||||||
MeshGenerator.GenerateSkeletonRendererInstruction(currentInstructions, skeleton, null,
|
MeshGenerator.GenerateSkeletonRendererInstruction(currentInstructions, skeleton, null,
|
||||||
@ -934,7 +934,7 @@ namespace Spine.Unity {
|
|||||||
bool isInRebuild = false) {
|
bool isInRebuild = false) {
|
||||||
|
|
||||||
int submeshCount = currentInstructions.submeshInstructions.Count;
|
int submeshCount = currentInstructions.submeshInstructions.Count;
|
||||||
DisableUnusedCanvasRenderers(usedCount: submeshCount, isInRebuild : isInRebuild);
|
DisableUnusedCanvasRenderers(usedCount: submeshCount, isInRebuild: isInRebuild);
|
||||||
|
|
||||||
int separatorSlotGroupIndex = 0;
|
int separatorSlotGroupIndex = 0;
|
||||||
int targetSiblingIndex = 0;
|
int targetSiblingIndex = 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user