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:
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
|
||||
8
Assets/_Game/Data/Enemies/ENM_New_Stats.asset.meta
Normal file
8
Assets/_Game/Data/Enemies/ENM_New_Stats.asset.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e0cf93e053ead744fa1876771ba0d081
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
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: []
|
||||
8
Assets/_Game/Data/Enemies/SKL_Boss_New.asset.meta
Normal file
8
Assets/_Game/Data/Enemies/SKL_Boss_New.asset.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a5d737a5b9641124aafb375d8684e06a
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user