건축모드 네트워크 환경 적용
This commit is contained in:
@@ -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 사용
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user