refactor(hero): 重构英雄头顶状态栏逻辑到独立组件
将原HeroViewComp中的头顶血条、等级、护盾UI逻辑抽离为HeroTopBarComp, 统一管理头顶状态栏的初始化、数据更新、动画和显隐逻辑,减少HeroViewComp代码冗余, 提升代码可维护性和复用性。同时更新预制体关联,适配新的组件结构。
This commit is contained in:
9
assets/script/game/hero/HeroTopBarComp.ts.meta
Normal file
9
assets/script/game/hero/HeroTopBarComp.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.24",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "c4181fc5-1168-4a6d-8d03-d0f2dd0b22a2",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
Reference in New Issue
Block a user