액션 및 인터랙션 정의 및 기존 인터랙션 및 채광 코드 구조 개선
This commit is contained in:
18
Assets/Prefabs/MiningActionData.asset
Normal file
18
Assets/Prefabs/MiningActionData.asset
Normal file
@@ -0,0 +1,18 @@
|
||||
%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: 16b4dd78bd34c8e4885c9b160e4c25a2, type: 3}
|
||||
m_Name: MiningActionData
|
||||
m_EditorClassIdentifier: Assembly-CSharp::MiningActionData
|
||||
actionName: Mining
|
||||
duration: 1
|
||||
animTrigger: Attack
|
||||
damage: 50
|
||||
8
Assets/Prefabs/MiningActionData.asset.meta
Normal file
8
Assets/Prefabs/MiningActionData.asset.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 677adf45880ed9e4a80b2f113fff07f8
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -222,6 +222,9 @@ PrefabInstance:
|
||||
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: ffaf1ddb2ff58d2448ccfdd357387f63, type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 5271692149337681293}
|
||||
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: ffaf1ddb2ff58d2448ccfdd357387f63, type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 8444973872686006962}
|
||||
m_SourcePrefab: {fileID: 100100000, guid: ffaf1ddb2ff58d2448ccfdd357387f63, type: 3}
|
||||
--- !u!4 &2152733048352974824 stripped
|
||||
Transform:
|
||||
@@ -343,6 +346,10 @@ MonoBehaviour:
|
||||
serializedVersion: 2
|
||||
m_Bits: 256
|
||||
buildSpeedMultiplier: 2
|
||||
pickupRadius: 1.5
|
||||
itemLayer:
|
||||
serializedVersion: 2
|
||||
m_Bits: 16384
|
||||
attackRange: 5
|
||||
aimRadius: 0.5
|
||||
miningDamage: 25
|
||||
@@ -356,6 +363,8 @@ MonoBehaviour:
|
||||
crosshairUI: {fileID: 0}
|
||||
idleCrosshair: {fileID: 2628378444897590106, guid: 174f7cb20aaa6d4409b788a700a925ad, type: 3}
|
||||
targetCrosshair: {fileID: -5662625722731528258, guid: 7652364ca249c3144813de7eb3d1b129, type: 3}
|
||||
visionRadius: 5
|
||||
miningAction: {fileID: 11400000, guid: 677adf45880ed9e4a80b2f113fff07f8, type: 2}
|
||||
--- !u!114 &106528027568436521
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -451,6 +460,19 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::PlayerInventory
|
||||
ShowTopMostFoldoutHeaderGroup: 1
|
||||
--- !u!114 &8444973872686006962
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2473992278589500093}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 59175e0893d83ae4198b22adcdbd6de5, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::PlayerActionHandler
|
||||
ShowTopMostFoldoutHeaderGroup: 1
|
||||
--- !u!4 &5371267496600762819 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 7214371169738337839, guid: ffaf1ddb2ff58d2448ccfdd357387f63, type: 3}
|
||||
|
||||
Reference in New Issue
Block a user