去掉大部分 调试信息

This commit is contained in:
2025-08-21 14:33:42 +08:00
parent 92faa0fe09
commit 213149881c
27 changed files with 164 additions and 164 deletions

View File

@@ -25,7 +25,7 @@ export class HeroReadyCom extends Component {
}
update_hero(){
let hero = smc.fight_heros[this.slot]
console.log("[HeroReadyCom]hero",hero,smc.fight_heros,this.slot)
// console.log("[HeroReadyCom]hero",hero,smc.fight_heros,this.slot)
if(hero==0){
this.no_hero()
return
@@ -33,7 +33,7 @@ export class HeroReadyCom extends Component {
this.node.getChildByName("icon").active=true
this.node.getChildByName("add").active=false
let hero_data = HeroInfo[hero]
console.log("[HeroReadyCom]hero_data",smc.fight_heros,hero,smc.fight_heros[this.slot],this.slot,hero_data)
// console.log("[HeroReadyCom]hero_data",smc.fight_heros,hero,smc.fight_heros[this.slot],this.slot,hero_data)
let anm_path=hero_data.path
resources.load("game/heros/hero/"+anm_path+"/idle", AnimationClip, (err, clip) => {
this.node.getChildByName("icon").getComponent(Animation).addClip(clip);