feat(game): 补齐角色预制体的characterDataName字段并优化英雄归位逻辑

- 为第一章和第二章共12个角色预制体补全characterDataName字段,
  包括人类士兵、弓箭手、法师、盾卫、精锐士兵、弓箭猎人、
  狼人、石巨人、蓝色怪物等角色

- 新增useAnchorLeash字段控制英雄锚点牵绳行为,避免英雄
  追击敌人时被推到地图边界外

- 修复UnitBase中stoppingDistance导致的导航问题,英雄归位
  现在采用正常行走而非瞬移方式

- 修正
This commit is contained in:
huadexuan committed 2026-10-05 14:21:46 +08:00
1 parent 7d9d0f52d1
commit 6089308f66
12 files changed
+16 -11

No files matched your search

+3 -3
View File
@@ -357,12 +357,12 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: da330bbd52e2a424dbe6231c018a3c60, type: 3}
m_Name:
m_EditorClassIdentifier:
characterDataName:
characterDataName: "\u76FE\u536BData"
level: 1
speed: 5
detectionRange: 15
attackRange: 1.5
modelFacingOffset: 90
attackRange: 2
modelFacingOffset: 45
attackPower: 10
attackDuration: 0
attackType: 0