小白,问一下大哥们creator显示一个倒计时该怎么做?

我这样写只能执行一次

this,rs = setInterval(()=>{

i–

if(i<=0){ clearInterval(this.rs); this.countDown.node.active = false; return;}

this.countDown.string = i

},i*1000)

我怀疑你 this.schedule 函数中没有把参数bind