건설 모드에서 클릭이 잘 작동하지 않는 문제 수정

건설 모드 UI가 클릭되어 건설되지 않는 문제 수정
JMO Asset 위치 조정
Tower, Monster, Creep의 Hit/Destroy FX Prefab 설정 (Template Level)
Tower에 체력바 추가 (최초 건설 시, 체력 변경 시 등장)
Tower 관련 디버깅 로그 정리
건설 토대의 사이즈가 비정상적인 문제 수정
This commit is contained in:
2026-02-25 01:41:58 +09:00
parent 3dabf9f9a4
commit f3923079a4
1047 changed files with 897 additions and 373 deletions

View File

@@ -34,9 +34,9 @@ namespace Northbound.Data
public EquipmentData constructionEquipment;
[Header("Properties for convenience")]
public int width => sizeX;
public int length => sizeY;
public float height => sizeZ; // height는 sizeZ로 수정
public int width => sizeX; // X축
public int length => sizeZ; // Z축 (깊이)
public float height => sizeY; // Y축 (높이)
public int maxHealth => maxHp;
public float visionRange => atkRange;
public float requiredWorkAmount => manpower;
@@ -45,8 +45,8 @@ namespace Northbound.Data
{
bool isRotated = (rotation == 1 || rotation == 3);
float w = isRotated ? length : width;
float l = isRotated ? width : length;
return new Vector3(w, sizeZ, l); // 세 번째 차원도 sizeZ 사용
float d = isRotated ? width : length;
return new Vector3(w, height, d); // (width, height, depth)
}
}
}