改了 好多

This commit is contained in:
2025-06-22 23:50:28 +08:00
parent 80359de181
commit 6584fa0e72
57 changed files with 19275 additions and 4959 deletions

View File

@@ -26,6 +26,7 @@ export class TooltipCom extends CCComp {
start() {
switch(this.stype){
case 1:
this.node.setPosition(v3(this.node.position.x,this.node.position.y-50))
this.node.setSiblingIndex(100);
this.node.getChildByName("loss_life").getChildByName("hp").getComponent(Label).string = this.value;
this.node.getChildByName("loss_life").active=true;
@@ -42,6 +43,7 @@ export class TooltipCom extends CCComp {
},0.5)
break
case 4:
this.node.setPosition(v3(this.node.position.x,this.node.position.y-50))
this.node.setSiblingIndex(200);
this.node.getChildByName("bloss").getChildByName("hp").getComponent(Label).string = this.value;
this.node.getChildByName("bloss").active=true;