Skip to content
This repository has been archived by the owner on Dec 28, 2019. It is now read-only.

Commit

Permalink
Bug fix Endlosmodus
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Lampert committed May 29, 2017
1 parent e9f2ffe commit 8260c6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Platformer_001/Assets/Scripts/Endlosmodus/Endlosmodus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public class Endlosmodus : MonoBehaviour {
void Start () {
spawnedTiles = new List<GameObject>();
spawnedTilesGround = new List<GameObject> ();
spawnedTilesGround.Add(Instantiate(Instantiate (ground, new Vector3 (-100,-100 , 0), new Quaternion ())));
for (int i = 1; i <= 20; i = i + 2) {
lastX = i - 10;
GameObject tile = Instantiate (grass, new Vector3 (i - 10, 0, 0), new Quaternion ());
Expand Down

0 comments on commit 8260c6f

Please sign in to comment.