去掉大部分 调试信息
This commit is contained in:
@@ -27,7 +27,7 @@ export class VictoryComp extends CCComp {
|
||||
}
|
||||
|
||||
onAdded(args: any) {
|
||||
console.log("[VictoryComp] onAdded",args,smc.items)
|
||||
// console.log("[VictoryComp] onAdded",args,smc.items)
|
||||
if(args.game_data){
|
||||
this.game_data=args.game_data
|
||||
}
|
||||
@@ -90,7 +90,7 @@ export class VictoryComp extends CCComp {
|
||||
})
|
||||
this.node.getChildByName("btns").getChildByName("double").active=false
|
||||
}
|
||||
console.log("[VictoryComp]double_reward",smc.items,this.rewards)
|
||||
// console.log("[VictoryComp]double_reward",smc.items,this.rewards)
|
||||
}
|
||||
restart(){
|
||||
this.clear_data()
|
||||
@@ -99,11 +99,11 @@ export class VictoryComp extends CCComp {
|
||||
}
|
||||
|
||||
item_show(e:any,val:any){
|
||||
console.log("item_show",val)
|
||||
// console.log("item_show",val)
|
||||
}
|
||||
|
||||
protected onDestroy(): void {
|
||||
console.log("释放胜利界面");
|
||||
// console.log("释放胜利界面");
|
||||
}
|
||||
/** 视图对象通过 ecs.Entity.remove(ModuleViewComp) 删除组件是触发组件处理自定义释放逻辑 */
|
||||
reset() {
|
||||
|
||||
Reference in New Issue
Block a user