奖励页面ui 修改完成

This commit is contained in:
2024-12-24 17:22:01 +08:00
parent 401d3bca75
commit 38d4858dae
13 changed files with 12760 additions and 13808 deletions

View File

@@ -25,7 +25,6 @@ export class HChipComp extends Component {
update_data(uuid:number,num:number=0){
this.h_uuid = uuid;
var icon_path = "game/heros/herois"
console.log("HeroInfo[uuid]",HeroInfo[uuid],uuid)
resources.load(icon_path, SpriteAtlas, (err: any, atlas) => {
const sprite = this.node.getChildByName("hero").getChildByName("icon").getComponent(Sprite);
sprite.spriteFrame = atlas.getSpriteFrame(HeroInfo[uuid].path);