Files
3DBlobici-WorkingTitle/3D blobici/Assets/Scripts/MainGame/GameHandler.cs
T
2026-07-07 21:50:11 +02:00

39 lines
784 B
C#

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>();
//mapGen.OnGenerationComplete += HandleStart;
}
void Start()
{
}
// Update is called once per frame
void Update()
{
}
//private void HandleStart(MapGenManager map)
//{
// var Rooms = map.GridToRoom;
// /*----- For now only open the doors -----*/
// foreach (var room in mapGen.GridToRoom)
// {
// var rh = room.Value.GetComponent<RoomHandler>();
// }
//}
}