This commit is contained in:
2025-06-30 17:26:38 +08:00
parent ded1b36cfb
commit 9b5c2f8fc8
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ export class BarCompComp extends CCComp {
}
private ap_change(e:any,data:any){
console.log("[barcomp]:ap_change",data)
if(data.fac==FacSet.HERO){
if(data.is_master==true){
let barNode = this.node.getChildByName("bar").getChildByName("ap").getChildByName("val")
tween(barNode).to(0.2, {scale:v3(1.5,1.5,1)},{
onComplete:()=>{