Fix
This commit is contained in:
parent
d45f95d3ab
commit
51c43239fc
@ -25,6 +25,7 @@ public class ProceduralGeneration : MonoBehaviour
|
|||||||
|
|
||||||
Vector3 nextBlockLocation = new Vector3(lastObject.transform.position.x, lastObject.transform.position.y, lastObject.transform.position.z + b.size.z + 1.0f);
|
Vector3 nextBlockLocation = new Vector3(lastObject.transform.position.x, lastObject.transform.position.y, lastObject.transform.position.z + b.size.z + 1.0f);
|
||||||
|
|
||||||
|
return Instantiate(objToSpawn, nextBlockLocation, (Quaternion.identity));
|
||||||
}
|
}
|
||||||
|
|
||||||
List<GameObject> spawnSpiralOfPlatforms(GameObject lastObject, GameObject objToSpawn)
|
List<GameObject> spawnSpiralOfPlatforms(GameObject lastObject, GameObject objToSpawn)
|
||||||
|
Loading…
Reference in New Issue
Block a user