Added spawn points + logic

This commit is contained in:
2025-08-02 09:11:23 +02:00
parent 630c54f7ff
commit 5bf23cf6d4
12 changed files with 1413 additions and 9 deletions

View File

@@ -1,10 +1,13 @@
using System.Collections.Generic;
using UnityEngine;
public class GameHandler : MonoBehaviour
{
private MapGenManager mapGen;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Awake()
{
mapGen = GetComponent<MapGenManager>();
@@ -30,7 +33,6 @@ public class GameHandler : MonoBehaviour
foreach (var room in mapGen.GridToRoom)
{
var rh = room.Value.GetComponent<RoomHandler>();
}
}
}