KostraDataTransfer

This commit is contained in:
2026-04-26 21:17:38 +02:00
parent bca7c930c2
commit 3c885df783
16 changed files with 6116 additions and 1 deletions

View File

@@ -84,7 +84,7 @@ public class ObjectSpawner : MonoBehaviour
{
for (int i = 0; i < objectCount; i++)
{
GameObject prefab = objectPrefabs[Random.Range(0, objectPrefabs.Length)];
GameObject prefab = objectPrefabs[Random.Range(0, objectPrefabs.Length)];
Vector2 pos = RandomPos(0.5f);
GameObject obj = Instantiate(prefab, pos, Quaternion.identity, objectParent);