动画问题
This commit is contained in:
@@ -81,15 +81,14 @@ export class Block extends Laya.Script {
|
||||
}
|
||||
|
||||
public setFadeAnimation(): void {
|
||||
var color = this.label_show.color
|
||||
Laya.timer.once(200, this, ()=>{
|
||||
this.label_show.color = "#ff0000"
|
||||
Laya.timer.once(100, this, ()=>{
|
||||
this.label_show.color = color
|
||||
this.label_show.color = "#2d3138"
|
||||
Laya.timer.once(200, this, ()=>{
|
||||
this.label_show.color = "#ff0000"
|
||||
Laya.timer.once(100, this, ()=>{
|
||||
this.label_show.color = color
|
||||
this.updateBlock()
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user