feat(gameplay): 调整单位属性和纹理设置并优化主角移动系统

- 修改多个纹理资源的最大尺寸从2048降至512,并添加PlayableAds平台设置
- 调整第一、二章多个单位的移动速度、攻击力和攻击持续时间参数
- 重命名精锐士兵预制体名称,移除"新"字后缀
- 降低精锐士兵的攻击力和攻击持续时间

- 为主角战斗组件添加detectRange字段,实现寻敌和攻击范围分离
- 重构主角移动系统,从点击移动改为自动巡逻模式,增加栓绳机制防止远离基地
- 实现巡逻和追击状态切换,在发现敌人时停止巡逻进行攻击
-
This commit is contained in:
huadexuan committed 2026-09-14 18:36:50 +08:00
1 parent 769aea30f3
commit 8d43961f67
28 files changed
+443 -125

No files matched your search

+3 -3
View File
@@ -189,15 +189,15 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: b91aa6ae607324ce19fc46225a44e70a, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 3
speed: 1.8
gravity: -20
range: 500
detectRange: 200
attackRange: 1
modelFacingOffset: 0
useRootMotion: 1
attackPower: 28
attackDuration: 1
attackPower: 30
attackDuration: 1.2
attackType: 0
projectilePrefab: {fileID: 0}
projectileSpawnPoint: {fileID: 0}
+3 -3
View File
@@ -206,15 +206,15 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: b91aa6ae607324ce19fc46225a44e70a, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 5
speed: 1.8
gravity: -20
range: 500
detectRange: 200
attackRange: 6
modelFacingOffset: 90
useRootMotion: 0
attackPower: 34
attackDuration: 1.33
attackPower: 40
attackDuration: 1.5
attackType: 2
projectilePrefab: {fileID: 1754121762047325928, guid: e59aafedb502e65409f16e33cee0eed6,
type: 3}
+3 -3
View File
@@ -200,15 +200,15 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: b91aa6ae607324ce19fc46225a44e70a, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 3
speed: 1.5
gravity: -20
range: 18
detectRange: 20
attackRange: 6
modelFacingOffset: 45
useRootMotion: 1
attackPower: 42
attackDuration: 1.82
attackPower: 90
attackDuration: 2.4
attackType: 2
projectilePrefab: {fileID: 3410584434205606752, guid: ea38dfd40c228456e8e1c98952673009,
type: 3}
+3 -3
View File
@@ -261,15 +261,15 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: b91aa6ae607324ce19fc46225a44e70a, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 2.5
speed: 1.4
gravity: -20
range: 18
detectRange: 20
attackRange: 1.2
modelFacingOffset: 45
useRootMotion: 1
attackPower: 24
attackDuration: 1.54
attackPower: 20
attackDuration: 1.8
attackType: 0
projectilePrefab: {fileID: 0}
projectileSpawnPoint: {fileID: 0}
+3 -3
View File
@@ -135,7 +135,7 @@ PrefabInstance:
- target: {fileID: 919132149155446097, guid: 62d9f853c067ff443bd2a3aa382ab563,
type: 3}
propertyPath: m_Name
value: "\u7CBE\u9510\u58EB\u5175\u65B0"
value: "\u7CBE\u9510\u58EB\u5175"
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 62d9f853c067ff443bd2a3aa382ab563,
type: 3}
@@ -255,8 +255,8 @@ MonoBehaviour:
attackRange: 1.2
modelFacingOffset: 0
useRootMotion: 1
attackPower: 68
attackDuration: 2.22
attackPower: 55
attackDuration: 1.6
attackType: 0
projectilePrefab: {fileID: 0}
projectileSpawnPoint: {fileID: 0}