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:
2026-05-21 07:09:53 +08:00
parent f096105caf
commit bb3afd130f
41 changed files with 2417 additions and 1618 deletions

View 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: []

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: d00e0d6104f281345b8978d3a72eed13
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant: