ChestAnimaton (beta)

This commit is contained in:
2025-06-27 08:23:17 +02:00
parent 60a715b7d4
commit dd590618ee
20 changed files with 807 additions and 2059 deletions

View File

@@ -231,8 +231,8 @@ public class MapGenManager : MonoBehaviour
int count = Mathf.Max(1, Mathf.FloorToInt(dist / step));
Vector3 segPos = start + axis * (step * 0.5f);
var door = Instantiate(DoorCorridor, segPos, rot, transform);
door.GetComponent<DoorController>()?.OpenDoor();
var door = Instantiate(CorridorStraight, segPos, rot, transform);
//door.GetComponent<DoorController>()?.OpenDoor();
for (int i = 1; i < count; i++)
{