feat: Add SkillModule and WeaponModule for managing skills and weapons
- Implemented SkillModule to manage FormSkillSO assets with a detailed UI for editing and displaying skill properties. - Implemented WeaponModule to manage WeaponSO assets with a detailed UI for editing and displaying weapon properties. - Created AssetOperations class for centralized CRUD operations on ScriptableObject assets, including create, rename, delete, and clone functionalities. - Added DetailHeader for displaying and renaming asset names in the UI. - Introduced SoListPane for a reusable ScriptableObject list panel with search functionality and context menus. - Added meta files for all new scripts to ensure proper asset management in Unity.
This commit is contained in:
@@ -10,7 +10,7 @@ MonoBehaviour:
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d2443d04d1c179d4d8a4f36e7ca7156e, type: 3}
|
||||
m_Name: Weapon_DiHun
|
||||
m_Name: WPN_New
|
||||
m_EditorClassIdentifier:
|
||||
weaponId:
|
||||
displayName:
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 76de8c0ba36dcce4db8990c5b62e9ed8
|
||||
guid: ce7bc9bad6f58ec42baff08f5353340e
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
28
Assets/_Game/Data/Enemies/ENM_New_Stats.asset
Normal file
28
Assets/_Game/Data/Enemies/ENM_New_Stats.asset
Normal file
@@ -0,0 +1,28 @@
|
||||
%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: ed4391dfa14c0304c8932f1ef9f8ce63, type: 3}
|
||||
m_Name: ENM_New_Stats
|
||||
m_EditorClassIdentifier:
|
||||
MaxHP: 50
|
||||
Defense: 0
|
||||
WalkSpeed: 2
|
||||
RunSpeed: 4
|
||||
AttackDamage: 10
|
||||
AttackRange: 1.5
|
||||
AttackCooldown: 1
|
||||
DetectRange: 6
|
||||
KnockbackForce: 5
|
||||
HitStunDuration: 0.3
|
||||
EyeOffset: {x: 0, y: 0.8}
|
||||
LOSBlockingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 1
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f80486c9cd3d1db459ce6df915b11546
|
||||
guid: e0cf93e053ead744fa1876771ba0d081
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
49
Assets/_Game/Data/Enemies/SKL_Boss_New.asset
Normal file
49
Assets/_Game/Data/Enemies/SKL_Boss_New.asset
Normal file
@@ -0,0 +1,49 @@
|
||||
%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: de92221c7c3fb4a42a7cd122a8f97632, type: 3}
|
||||
m_Name: SKL_Boss_New
|
||||
m_EditorClassIdentifier:
|
||||
skillId:
|
||||
displayName:
|
||||
designNote:
|
||||
category: 0
|
||||
skillType: 0
|
||||
availablePhaseIndices:
|
||||
attackPatterns: []
|
||||
vulnerabilityWindows: []
|
||||
interactionTags: 0
|
||||
sequenceOnHit: {fileID: 0}
|
||||
sequenceOnMiss: {fileID: 0}
|
||||
counterResponses: []
|
||||
arenaEvents: []
|
||||
resourceCost:
|
||||
resourceId:
|
||||
cost: 0
|
||||
minRequired: 0
|
||||
buildsRage: 0
|
||||
poiseWindow:
|
||||
Level: 0
|
||||
NormalizedStart: 0
|
||||
NormalizedEnd: 0
|
||||
skillAnimation:
|
||||
_FadeDuration: 0.25
|
||||
_Speed: 1
|
||||
_Events:
|
||||
_NormalizedTimes: []
|
||||
_Callbacks: []
|
||||
_Names: []
|
||||
_Clip: {fileID: 0}
|
||||
_NormalizedStartTime: NaN
|
||||
cooldown: 0
|
||||
references:
|
||||
version: 2
|
||||
RefIds: []
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d87ae01ed8a2b4f4cb27d159a52d1a14
|
||||
guid: a5d737a5b9641124aafb375d8684e06a
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
@@ -1,87 +0,0 @@
|
||||
%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: d2443d04d1c179d4d8a4f36e7ca7156e, type: 3}
|
||||
m_Name: Weapon_MingHun
|
||||
m_EditorClassIdentifier:
|
||||
weaponId:
|
||||
displayName:
|
||||
icon: {fileID: 0}
|
||||
weaponType: 0
|
||||
attack1Clip:
|
||||
_FadeDuration: 0.25
|
||||
_Speed: 1
|
||||
_Events:
|
||||
_NormalizedTimes: []
|
||||
_Callbacks: []
|
||||
_Names: []
|
||||
_Clip: {fileID: 0}
|
||||
_NormalizedStartTime: NaN
|
||||
attack2Clip:
|
||||
_FadeDuration: 0.25
|
||||
_Speed: 1
|
||||
_Events:
|
||||
_NormalizedTimes: []
|
||||
_Callbacks: []
|
||||
_Names: []
|
||||
_Clip: {fileID: 0}
|
||||
_NormalizedStartTime: NaN
|
||||
attack3Clip:
|
||||
_FadeDuration: 0.25
|
||||
_Speed: 1
|
||||
_Events:
|
||||
_NormalizedTimes: []
|
||||
_Callbacks: []
|
||||
_Names: []
|
||||
_Clip: {fileID: 0}
|
||||
_NormalizedStartTime: NaN
|
||||
airAttackClip:
|
||||
_FadeDuration: 0.25
|
||||
_Speed: 1
|
||||
_Events:
|
||||
_NormalizedTimes: []
|
||||
_Callbacks: []
|
||||
_Names: []
|
||||
_Clip: {fileID: 0}
|
||||
_NormalizedStartTime: NaN
|
||||
upAttackClip:
|
||||
_FadeDuration: 0.25
|
||||
_Speed: 1
|
||||
_Events:
|
||||
_NormalizedTimes: []
|
||||
_Callbacks: []
|
||||
_Names: []
|
||||
_Clip: {fileID: 0}
|
||||
_NormalizedStartTime: NaN
|
||||
downAttackClip:
|
||||
_FadeDuration: 0.25
|
||||
_Speed: 1
|
||||
_Events:
|
||||
_NormalizedTimes: []
|
||||
_Callbacks: []
|
||||
_Names: []
|
||||
_Clip: {fileID: 0}
|
||||
_NormalizedStartTime: NaN
|
||||
attack1Source: {fileID: 0}
|
||||
attack2Source: {fileID: 0}
|
||||
attack3Source: {fileID: 0}
|
||||
airAttackSource: {fileID: 0}
|
||||
upAttackSource: {fileID: 0}
|
||||
downAttackSource: {fileID: 0}
|
||||
hitBoxPrefab: {fileID: 0}
|
||||
vfxConfig:
|
||||
onEquipPresetId:
|
||||
weaponTrailPrefab: {fileID: 0}
|
||||
trailColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
soulPowerGain: 10
|
||||
references:
|
||||
version: 2
|
||||
RefIds: []
|
||||
@@ -1,87 +0,0 @@
|
||||
%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: d2443d04d1c179d4d8a4f36e7ca7156e, type: 3}
|
||||
m_Name: Weapon_TianHun
|
||||
m_EditorClassIdentifier:
|
||||
weaponId:
|
||||
displayName:
|
||||
icon: {fileID: 0}
|
||||
weaponType: 0
|
||||
attack1Clip:
|
||||
_FadeDuration: 0.25
|
||||
_Speed: 1
|
||||
_Events:
|
||||
_NormalizedTimes: []
|
||||
_Callbacks: []
|
||||
_Names: []
|
||||
_Clip: {fileID: 0}
|
||||
_NormalizedStartTime: NaN
|
||||
attack2Clip:
|
||||
_FadeDuration: 0.25
|
||||
_Speed: 1
|
||||
_Events:
|
||||
_NormalizedTimes: []
|
||||
_Callbacks: []
|
||||
_Names: []
|
||||
_Clip: {fileID: 0}
|
||||
_NormalizedStartTime: NaN
|
||||
attack3Clip:
|
||||
_FadeDuration: 0.25
|
||||
_Speed: 1
|
||||
_Events:
|
||||
_NormalizedTimes: []
|
||||
_Callbacks: []
|
||||
_Names: []
|
||||
_Clip: {fileID: 0}
|
||||
_NormalizedStartTime: NaN
|
||||
airAttackClip:
|
||||
_FadeDuration: 0.25
|
||||
_Speed: 1
|
||||
_Events:
|
||||
_NormalizedTimes: []
|
||||
_Callbacks: []
|
||||
_Names: []
|
||||
_Clip: {fileID: 0}
|
||||
_NormalizedStartTime: NaN
|
||||
upAttackClip:
|
||||
_FadeDuration: 0.25
|
||||
_Speed: 1
|
||||
_Events:
|
||||
_NormalizedTimes: []
|
||||
_Callbacks: []
|
||||
_Names: []
|
||||
_Clip: {fileID: 0}
|
||||
_NormalizedStartTime: NaN
|
||||
downAttackClip:
|
||||
_FadeDuration: 0.25
|
||||
_Speed: 1
|
||||
_Events:
|
||||
_NormalizedTimes: []
|
||||
_Callbacks: []
|
||||
_Names: []
|
||||
_Clip: {fileID: 0}
|
||||
_NormalizedStartTime: NaN
|
||||
attack1Source: {fileID: 0}
|
||||
attack2Source: {fileID: 0}
|
||||
attack3Source: {fileID: 0}
|
||||
airAttackSource: {fileID: 0}
|
||||
upAttackSource: {fileID: 0}
|
||||
downAttackSource: {fileID: 0}
|
||||
hitBoxPrefab: {fileID: 0}
|
||||
vfxConfig:
|
||||
onEquipPresetId:
|
||||
weaponTrailPrefab: {fileID: 0}
|
||||
trailColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
soulPowerGain: 10
|
||||
references:
|
||||
version: 2
|
||||
RefIds: []
|
||||
46
Assets/_Game/Data/Progression/Skills/SKL_New.asset
Normal file
46
Assets/_Game/Data/Progression/Skills/SKL_New.asset
Normal file
@@ -0,0 +1,46 @@
|
||||
%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: a96f0270221c8444b8719f0f9b14c635, type: 3}
|
||||
m_Name: SKL_New
|
||||
m_EditorClassIdentifier:
|
||||
skillId:
|
||||
displayNameKey:
|
||||
descriptionKey:
|
||||
icon: {fileID: 0}
|
||||
resourceType: 1
|
||||
baseCost: 0
|
||||
cooldown: 0
|
||||
castAnimation:
|
||||
_FadeDuration: 0.25
|
||||
_Speed: 1
|
||||
_Events:
|
||||
_NormalizedTimes: []
|
||||
_Callbacks: []
|
||||
_Names: []
|
||||
_Clip: {fileID: 0}
|
||||
_NormalizedStartTime: NaN
|
||||
castLockDuration: 0
|
||||
effectType: 1
|
||||
damageSource: {fileID: 0}
|
||||
projectileConfig: {fileID: 0}
|
||||
isHoming: 0
|
||||
holdForContinuous: 0
|
||||
dashForce: 0
|
||||
dashDuration: 0
|
||||
isInvincibleDuringDash: 0
|
||||
explosionDelay: 0
|
||||
explosionRadius: 0
|
||||
castFeedback: {fileID: 0}
|
||||
SkillHitBoxPrefab: {fileID: 0}
|
||||
references:
|
||||
version: 2
|
||||
RefIds: []
|
||||
8
Assets/_Game/Data/Progression/Skills/SKL_New.asset.meta
Normal file
8
Assets/_Game/Data/Progression/Skills/SKL_New.asset.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d00e0d6104f281345b8978d3a72eed13
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user