feat(prefab): 添加人类士兵预制件新组件并调整属性

添加了stun indicator组件到人类士兵预制件,增加modelFacingOffset和useRootMotion属性,
同时修正了狙击手预制件中的modelFacingOffset值从90到45

---

feat(scene): 在核心场景中添加战斗UI和事件系统

向CoreScene场景中添加了Canvas、EventSystem以及相关UI组件,包括Image组件用于UI显示,
同时调整了相机偏移和一些预制件的位置参数

---

docs: 添加第一关战斗UI设计文档和更新代码规范

在CODELY.md中添加了召唤战斗UI的设计规范,在地编文档中详细描述了第一关战斗UI的
层级设计,包括Canvas结构、能量豆系统和召唤交互流程

---

build(deps): 更新项目依赖包

添加了Unity 2D Sprite模块依赖,更新了codely bridge版本至1.0.81
```
This commit is contained in:
huadexuan committed 2026-09-06 23:09:03 +08:00
1 parent 1476a089cb
commit ffb050f636
19 files changed
+1332 -9

No files matched your search

@@ -140,6 +140,10 @@ PrefabInstance:
type: 3}
insertIndex: -1
addedObject: {fileID: 4111165692813349771}
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 5072af719b9b1401787c6c55f048d8ed,
type: 3}
insertIndex: -1
addedObject: {fileID: 6149369975191414129}
m_SourcePrefab: {fileID: 100100000, guid: 5072af719b9b1401787c6c55f048d8ed, type: 3}
--- !u!1 &7945271050725079514 stripped
GameObject:
@@ -190,6 +194,8 @@ MonoBehaviour:
range: 500
detectRange: 200
attackRange: 1
modelFacingOffset: 0
useRootMotion: 1
attackPower: 28
attackDuration: 1
attackType: 0
@@ -234,6 +240,21 @@ MonoBehaviour:
m_EditorClassIdentifier:
bonusAttackMultiplier: 0.5
skillAnimationDuration: 1
--- !u!114 &6149369975191414129
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7945271050725079514}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8250ea299184b428ea8f0fa765c39264, type: 3}
m_Name:
m_EditorClassIdentifier:
showStunIndicator: 1
indicatorHeight: 0.35
stunIndicatorPrefab: {fileID: 0}
--- !u!4 &8878706989061864259 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 1852576806548013000, guid: 5072af719b9b1401787c6c55f048d8ed,
+1 -1
View File
@@ -266,7 +266,7 @@ MonoBehaviour:
range: 18
detectRange: 20
attackRange: 1.2
modelFacingOffset: 90
modelFacingOffset: 45
useRootMotion: 1
attackPower: 24
attackDuration: 1.54