英雄展示页面++
This commit is contained in:
@@ -7,13 +7,14 @@ const { ccclass, property } = _decorator;
|
||||
export class HCardUICom extends Component {
|
||||
h_uuid:number=0
|
||||
start() {
|
||||
|
||||
console.log("[HCardUICom]:start")
|
||||
}
|
||||
|
||||
update(deltaTime: number) {
|
||||
|
||||
}
|
||||
update_data(uuid:number){
|
||||
console.log("[HCardUICom]:update_data",uuid)
|
||||
this.h_uuid=uuid
|
||||
let hero_data = HeroInfo[uuid]
|
||||
let hero= this.node.getChildByName("hero")
|
||||
|
||||
Reference in New Issue
Block a user