From 8ee6b445df291749169015edfdd89abd49904418 Mon Sep 17 00:00:00 2001 From: nexovec Date: Sat, 29 Jan 2022 20:28:42 +0100 Subject: [PATCH] preparing to solve a nasty merge conflict. --- Assets/Scripts/ProceduralGeneration.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/ProceduralGeneration.cs b/Assets/Scripts/ProceduralGeneration.cs index aee77a2..fe13c59 100644 --- a/Assets/Scripts/ProceduralGeneration.cs +++ b/Assets/Scripts/ProceduralGeneration.cs @@ -19,7 +19,7 @@ public class ProceduralGeneration : MonoBehaviour this.spawnedLevelBlocks.Add(lastBlock); } - List drawLoop(GameObject lastObject, GameObject objToSpawn) + List spawnSpiralOfPlatforms(GameObject lastObject, GameObject objToSpawn) { // configuration: float horizontalDistancePerPlatform = 0.5f; @@ -116,7 +116,7 @@ public class ProceduralGeneration : MonoBehaviour } else { - List instantiatedGameObjectLists = this.drawLoop(lastBlock, levelBlocks[0]); + List instantiatedGameObjectLists = this.spawnSpiralOfPlatforms(lastBlock, levelBlocks[0]); foreach (var spavnedBlock in instantiatedGameObjectLists) { this.spawnedLevelBlocks.Add(spavnedBlock);