dd
This commit is contained in:
@@ -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:()=>{
|
||||
|
||||
Reference in New Issue
Block a user