Tower Data의 size 규칙 변경 및 현재 사용 중인 Tower들의 크기 조정
size x,y,z는 외형의 크기를 조정하지 않는다 외형의 크기는 모델에서 직접 조정한다
This commit is contained in:
@@ -66,7 +66,7 @@ namespace Northbound.Data
|
||||
[Header("Properties for convenience")]
|
||||
public int width => sizeX;
|
||||
public int length => sizeY;
|
||||
public float height => sizeZ;
|
||||
public float height => sizeY;
|
||||
public int maxHealth => maxHp;
|
||||
public float visionRange => atkRange;
|
||||
public float requiredWorkAmount => manpower;
|
||||
@@ -77,7 +77,7 @@ namespace Northbound.Data
|
||||
bool isRotated = (rotation == 1 || rotation == 3);
|
||||
float w = isRotated ? length : width;
|
||||
float l = isRotated ? width : length;
|
||||
return new Vector3(w, height, l);
|
||||
return new Vector3(w, sizeY, l);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user