Refactor code structure for improved readability and maintainability

This commit is contained in:
2026-05-26 13:04:38 +08:00
parent f74d7f1877
commit 5a0f1548ea
53 changed files with 4853 additions and 163 deletions

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 16d3503453cb89640b705da44c5fbb53
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7ae476df26ac83f4bb5466462f840c61
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,27 @@
%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: 9050afa76362dff469c64fbb48c9ff8d, type: 3}
m_Name: ABL_E001_Alert
m_EditorClassIdentifier:
abilityId: e001_alert
attackSequence: []
cooldown: 1.5
telegraphVfxKey:
telegraphDuration: 0
interruptOnHurt: 1
interruptOnStagger: 1
preferredMinRange: 0
preferredMaxRange: 5
requiresLineOfSight: 1
requiresGrounded: 1
exclusionGroup:
priority: 0

View File

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

View File

@@ -0,0 +1,27 @@
%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: 9050afa76362dff469c64fbb48c9ff8d, type: 3}
m_Name: ABL_E001_Chase
m_EditorClassIdentifier:
abilityId: e001_chase
attackSequence: []
cooldown: 1.5
telegraphVfxKey:
telegraphDuration: 0
interruptOnHurt: 1
interruptOnStagger: 1
preferredMinRange: 0
preferredMaxRange: 5
requiresLineOfSight: 1
requiresGrounded: 1
exclusionGroup:
priority: 0

View File

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

View File

@@ -0,0 +1,25 @@
%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: f7dd720bca19fcc49b22106fb65f7652, type: 3}
m_Name: ENM_E001_AnimConfig
m_EditorClassIdentifier:
Idle: {fileID: 0}
Walk: {fileID: 0}
Run: {fileID: 0}
Turn: {fileID: 0}
Attack: {fileID: 0}
Hurt: {fileID: 0}
Stagger: {fileID: 0}
KnockUp: {fileID: 0}
Dead: {fileID: 0}
Alert: {fileID: 0}
Investigate: {fileID: 0}

View File

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

View File

@@ -0,0 +1,41 @@
%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_E001_Stats
m_EditorClassIdentifier:
MaxHP: 50
Defense: 0
WalkSpeed: 2
RunSpeed: 4
AttackDamage: 10
AttackRange: 1.5
AttackCooldown: 1
DetectRange: 6
MaxChaseDistance: 15
LoseLinkTimeout: 2
AlertDuration: 0.6
InvestigateDuration: 3
HomeRadius: 0.5
KnockbackForce: 5
HitStunDuration: 0.3
HitTiers:
heavyHitThreshold: 0
launchThreshold: 0
launchUpForce: 0
launchHorzForce: 0
knockUpDuration: 0
EyeOffset: {x: 0, y: 0.8}
LOSBlockingMask:
serializedVersion: 2
m_Bits: 1
DetectAngleDeg: 0
AlertBroadcastRadius: 0

View File

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