Map generator durch bild ge fixt und playerController leicht überarbeitet

This commit is contained in:
2026-06-12 12:58:02 +02:00
parent 572cc5a8b0
commit 08259ffa44
5 changed files with 130 additions and 7 deletions
+4 -2
View File
@@ -31,13 +31,15 @@ public class Map_Generator : MonoBehaviour
{
GameObject block = Instantiate(blockPrefab);
block.transform.position = new Vector3(k, 0, i);
block.GetComponent<Renderer>().material.color = Random.ColorHSV();
block.GetComponent<Renderer>().material.color = Color.black;
}
}
}
}
void Update()
{
}
}
}