refactor(hero): 移除英雄等级显示相关逻辑
1. 从HeroTopBarComp中移除等级Label组件、lvShow方法以及等级显示调用 2. 从HeroViewComp的update逻辑中移除等级脏数据监听 3. 调整英雄顶栏预制体的布局参数并隐藏等级节点
This commit is contained in:
@@ -139,11 +139,6 @@ export class HeroViewComp extends CCComp {
|
||||
this.topBar.shieldShow(this.model.shield);
|
||||
this.model.dirty_shield = false;
|
||||
}
|
||||
|
||||
if (this.model.dirty_lv) {
|
||||
this.topBar.lvShow();
|
||||
this.model.dirty_lv = false;
|
||||
}
|
||||
}
|
||||
|
||||
public cd_show() {
|
||||
|
||||
Reference in New Issue
Block a user