物品图标

This commit is contained in:
2024-08-29 23:59:27 +08:00
parent 01fa44c19d
commit 6b4789d07c
22 changed files with 1089 additions and 903 deletions

View File

@@ -35,6 +35,7 @@ export class TooltipCom extends CCComp {
case 2:
this.node.getChildByName("add_life").getChildByName("hp").getComponent(Label).string = this.value;
this.node.getChildByName("add_life").active=true;
this.node.setPosition(v3(this.node.position.x,this.node.position.y+50))
break
case 3:
// resources.load("game/heros/skill/"+smc.skills[this.s_uuid].path, SpriteFrame, (err, spriteFrame) => {