ChestAnimaton (beta)
This commit is contained in:
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user