This commit is contained in:
2024-09-03 09:41:31 +08:00
parent cb9be29151
commit c0f2d33e66
4 changed files with 2392 additions and 547 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,13 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "8e4fb949-6668-4442-bd81-7c6a95e6512f",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "card_info"
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -78,18 +78,18 @@ export class HeroCardViewComp extends CCComp {
}
do_active(){
// console.log(this.node.getChildByName("active"),this.node.getChildByName("use"), this.node.getChildByName("bag"))
// let active = this.node.getChildByName("active")
// let use = this.node.getChildByName("use")
// let bag = this.node.getChildByName("bag")
// active.active = !active.active
let active = this.node.getChildByName("active")
active.active = !active.active
// use.active = !use.active
// bag.active = !bag.active
this.alive=!this.alive
if(this.alive){
this.node.setScale(1.5,1.5,1)
}else{
this.node.setScale(1,1,0)
}
// this.alive=!this.alive
// if(this.alive){
// this.node.setScale(1.5,1.5,1)
// }else{
// this.node.setScale(1,1,0)
// }
}
no_active(){