TowerArrow 프리팹 추가
- 기존 Player 건물 prefab 활용하여 제작 - GameMain에 prefab 3개 배치 - BuildingData에 TowerAsset 추가 - DefaultNetworkPrefabs list에 TowerArrow 추가
This commit is contained in:
40
Assets/Data/BuildingData_Tower.asset
Normal file
40
Assets/Data/BuildingData_Tower.asset
Normal file
@@ -0,0 +1,40 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 937e64980d44d6b46acb35b8046adf34, type: 3}
|
||||
m_Name: BuildingData_Tower
|
||||
m_EditorClassIdentifier: Assembly-CSharp::Northbound.BuildingData
|
||||
buildingName: Tower
|
||||
prefab: {fileID: 0}
|
||||
icon: {fileID: -4093933202056797366, guid: 450ad0aa3eb2cfa4a9d64deab8297ea9, type: 3}
|
||||
width: 4
|
||||
length: 4
|
||||
height: 4
|
||||
placementOffset: {x: 0, y: 0, z: 0}
|
||||
allowRotation: 1
|
||||
requiredWorkAmount: 100
|
||||
workPerInteraction: 10
|
||||
interactionCooldown: 0
|
||||
constructionAnimationTrigger: Tower
|
||||
constructionEquipment:
|
||||
socketName: handslot.r
|
||||
equipmentPrefab: {fileID: 919132149155446097, guid: 804d477fc7f114c498aa6f95452be893, type: 3}
|
||||
attachOnStart: 1
|
||||
detachOnEnd: 1
|
||||
keepEquipped: 0
|
||||
attachDelay: 0
|
||||
detachDelay: 0
|
||||
maxHealth: 100
|
||||
isIndestructible: 0
|
||||
autoRegenerate: 0
|
||||
regenPerSecond: 1
|
||||
providesVision: 1
|
||||
visionRange: 30
|
||||
Reference in New Issue
Block a user