英雄上阵选择 基本完成

This commit is contained in:
2024-12-10 16:44:54 +08:00
parent 9cd72c108e
commit 5fdd6486de
26 changed files with 16811 additions and 12790 deletions

View File

@@ -0,0 +1,20 @@
import { _decorator, Component, Node } from 'cc';
const { ccclass, property } = _decorator;
@ccclass('UiHeroComp')
export class UiHeroComp extends Component {
h_uuid:number=0
start() {
console.log("UiHeroComp start",this.h_uuid)
console.log(this)
}
to_destroy(){
console.log("UiHeroComp to_destroy",this.h_uuid)
this.node.destroy()
}
update(deltaTime: number) {
}
}