refactor(UI): 移除多余节点激活逻辑并更新预制体配置

移除HInfoComp和VictoryComp中多余的节点激活代码
更新card.prefab的节点结构和组件引用
调整ubtns.plist.meta中的纹理坐标和旋转配置
This commit is contained in:
panw
2025-12-23 15:52:09 +08:00
parent cdfdec2845
commit db64b1c009
6 changed files with 5206 additions and 4376 deletions

View File

@@ -168,7 +168,6 @@ export class HInfoComp extends CCComp {
}
show_lock(){
this.node.getChildByName("buy").active=!this.is_own()
this.node.getChildByName("lock").active=!this.is_own()
}
claear_hero(){
for (let i = 0; i < this.heroNodes.length; i++) {

View File

@@ -31,7 +31,6 @@ export class VictoryComp extends CCComp {
if(args.game_data){
this.game_data=args.game_data
}
this.node.getChildByName("title").getChildByName("victory").active=true
this.node.getChildByName("btns").getChildByName("next").active=false
this.scheduleOnce(()=>{
this.node.getChildByName("btns").getChildByName("next").active=true