[]每过一秒下降一个单位如何写

每过一秒下降一个单位如何写
已邀请:

Laya_XS

赞同来自:

var sprite:Sprite = new Sprite;
sprite.loadImage("图片路径");
Laya.timer.loop(1000,this,function(){
sprite.y += 1;
})


不知道是不是你想要的?
 

要回复问题请先

商务合作
商务合作