dd
This commit is contained in:
1697
assets/resources/gui/card_info.prefab
Normal file
1697
assets/resources/gui/card_info.prefab
Normal file
File diff suppressed because it is too large
Load Diff
13
assets/resources/gui/card_info.prefab.meta
Normal file
13
assets/resources/gui/card_info.prefab.meta
Normal 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
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user