摘要: 1, Math.floor(Math.random() *X); //随机0到x的数 Math.floor(Math.random() *(Y-X)) + X; //随机x到y之间的数 2, this.posX = pc.math.lerp(this.posX,this.endPos.x, time 阅读全文
posted @ 2021-01-21 18:27 琥珀君 阅读(346) 评论(0) 推荐(0) 编辑