开始新手引导
This commit is contained in:
@@ -26,7 +26,7 @@ export class HInfoComp extends Component {
|
||||
|
||||
this.h_uuid=uuid
|
||||
let hero_data = HeroInfo[uuid]
|
||||
// console.log("[HInfoComp]:update_data",uuid,hero_data,this.node)
|
||||
console.log("[HInfoComp]:update_data",uuid,hero_data,this.node)
|
||||
let lv=smc.heros[uuid]?.lv??1
|
||||
let anm_path=hero_data.path
|
||||
resources.load("game/heros/hero/"+anm_path+"/idle", AnimationClip, (err, clip) => {
|
||||
@@ -133,6 +133,9 @@ export class HInfoComp extends Component {
|
||||
close(){
|
||||
oops.gui.removeByNode(this.node)
|
||||
}
|
||||
reset() {
|
||||
this.node.destroy()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user