건축모드 네트워크 환경 적용

This commit is contained in:
2026-02-14 17:45:31 +09:00
parent 3e1754eb3c
commit e451d95e0e
4 changed files with 195 additions and 32 deletions

View File

@@ -36,7 +36,7 @@ namespace Northbound.Data
[Header("Properties for convenience")]
public int width => sizeX;
public int length => sizeY;
public float height => sizeY;
public float height => sizeZ; // height는 sizeZ로 수정
public int maxHealth => maxHp;
public float visionRange => atkRange;
public float requiredWorkAmount => manpower;
@@ -46,7 +46,7 @@ namespace Northbound.Data
bool isRotated = (rotation == 1 || rotation == 3);
float w = isRotated ? length : width;
float l = isRotated ? width : length;
return new Vector3(w, sizeY, l);
return new Vector3(w, sizeZ, l); // 세 번째 차원도 sizeZ 사용
}
}
}