건설 인터랙션 관련 버그 수정 및 건설 데이터 구조 개선

건설 인터랙션 시 움직이지 못하는 문제 수정
2개로 분리되어 있던 타워 데이터를 하나로 통합
 - 대신 타워가 아닌 건물도 공격력 등을 정의할 수 있음
This commit is contained in:
2026-02-01 16:09:57 +09:00
parent 7927dab72f
commit 4200288fae
24 changed files with 235 additions and 337 deletions

View File

@@ -15,38 +15,21 @@ MonoBehaviour:
buildingName: "\uD0C0\uC6CC"
prefab: {fileID: 8512676738329978770, guid: 3f7838db2c2fc424d9bd9a0d243b43be, type: 3}
icon: {fileID: 0}
width: 3
length: 3
height: 3
placementOffset: {x: 0, y: 0, z: 0}
allowRotation: 1
requiredWorkAmount: 10
workPerInteraction: 10
interactionCooldown: 1
constructionAnimationTrigger: Build
constructionEquipment:
socketName: RightHand
equipmentPrefab: {fileID: 0}
attachOnStart: 1
detachOnEnd: 1
keepEquipped: 0
attachDelay: 0
detachDelay: 0
maxHealth: 50
isIndestructible: 0
autoRegenerate: 0
regenPerSecond: 1
providesVision: 1
visionRange: 10
id: 1
memo: "\uD0C0\uC6CC"
mana: 25
manpower: 10
sizeX: 3
sizeY: 3
sizeZ: 3
placementOffset: {x: 0, y: 0, z: 0}
allowRotation: 1
manpower: 10
maxHp: 50
isIndestructible: 0
autoRegenerate: 0
regenPerSecond: 1
atkRange: 10
providesVision: 1
atkDamage: 5
atkIntervalSec: 2
modelPath: Assets/Models/building_tower_B_blue.fbx

View File

@@ -15,38 +15,21 @@ MonoBehaviour:
buildingName: "\uBCBD"
prefab: {fileID: 3671057791414486316, guid: ae9a9b515e1792a45887f0d967b943d6, type: 3}
icon: {fileID: 0}
width: 2
length: 2
height: 1
placementOffset: {x: 0, y: 0, z: 0}
allowRotation: 1
requiredWorkAmount: 5
workPerInteraction: 10
interactionCooldown: 1
constructionAnimationTrigger: Build
constructionEquipment:
socketName: RightHand
equipmentPrefab: {fileID: 0}
attachOnStart: 1
detachOnEnd: 1
keepEquipped: 0
attachDelay: 0
detachDelay: 0
maxHealth: 30
isIndestructible: 0
autoRegenerate: 0
regenPerSecond: 1
providesVision: 1
visionRange: 0
id: 2
memo: "\uBCBD"
mana: 5
sizeX: 4
sizeY: 3
sizeZ: 2
placementOffset: {x: 0, y: 0, z: 0}
allowRotation: 1
manpower: 5
sizeX: 2
sizeY: 2
sizeZ: 1
maxHp: 30
isIndestructible: 0
autoRegenerate: 0
regenPerSecond: 1
atkRange: 0
providesVision: 1
atkDamage: 0
atkIntervalSec: 0
modelPath: Assets/Models/wall_straight.fbx