코드 리팩토링
재사용성 및 확장성을 고려하여 코드 전반을 리팩토링함
This commit is contained in:
@@ -15,11 +15,13 @@ MonoBehaviour:
|
||||
itemID: 1
|
||||
itemName: "\uACE1\uAD2D\uC774"
|
||||
icon: {fileID: 1410797105229532982, guid: 206db4b680835834bb863402d6ff99f0, type: 3}
|
||||
description:
|
||||
weight: 0
|
||||
maxStack: 1
|
||||
originalBlockPrefab: {fileID: 919132149155446097, guid: ebadcbcc9e8baa1469830ca427684d65, type: 3}
|
||||
isTool: 1
|
||||
toolAction: {fileID: 11400000, guid: 677adf45880ed9e4a80b2f113fff07f8, type: 2}
|
||||
toolPrefab: {fileID: 919132149155446097, guid: ebadcbcc9e8baa1469830ca427684d65, type: 3}
|
||||
behavior: {fileID: 11400000, guid: 239d2d4ad6cebe042813b3d938255356, type: 2}
|
||||
isEquippable: 1
|
||||
equipmentPrefab: {fileID: 1272226527344106, guid: 346845f0154817c4297d6af7c695b28a, type: 3}
|
||||
equipPositionOffset: {x: 0, y: 0, z: 0}
|
||||
equipRotationOffset: {x: 0, y: 0, z: 0}
|
||||
attachmentPointName: handslot.r
|
||||
|
||||
23
Assets/Resources/New Mining Behavior.asset
Normal file
23
Assets/Resources/New Mining Behavior.asset
Normal file
@@ -0,0 +1,23 @@
|
||||
%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: c1deeb9de56edff4ca77ddabf9db691a, type: 3}
|
||||
m_Name: New Mining Behavior
|
||||
m_EditorClassIdentifier: Assembly-CSharp::MiningBehavior
|
||||
behaviorName: Mining
|
||||
duration: 0.5
|
||||
animTrigger: Attack
|
||||
animSpeed: 1
|
||||
impactDelay: 0.2
|
||||
canRepeat: 1
|
||||
useSound: {fileID: 0}
|
||||
useEffect: {fileID: 0}
|
||||
damage: 50
|
||||
8
Assets/Resources/New Mining Behavior.asset.meta
Normal file
8
Assets/Resources/New Mining Behavior.asset.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 239d2d4ad6cebe042813b3d938255356
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user