最新版本
This commit is contained in:
parent
a5dbb20adc
commit
cd52013157
|
|
@ -587,6 +587,15 @@ export default class Wall extends cc.Component {
|
|||
.to(0.2, { fillRange: 1 })
|
||||
.start();
|
||||
}
|
||||
if (this.down_SpriteFrames) {
|
||||
let name2 = color + "down" + (this.wall_Info.length + double);
|
||||
var downFrame = this.down_SpriteFrames._spriteFrames[name2];
|
||||
this.maskNode.getChildByName("color_down").getComponent(cc.Sprite).spriteFrame = downFrame;
|
||||
this.maskNode.getChildByName("color_down").getComponent(cc.Sprite).fillRange = 0;
|
||||
cc.tween(this.maskNode.getChildByName("color_down").getComponent(cc.Sprite))
|
||||
.to(0.2, { fillRange: 1 })
|
||||
.start();
|
||||
}
|
||||
}
|
||||
else {
|
||||
this.maskNode.getChildByName("color_icon").opacity = 0;
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user