用户:
智编工作室官方查看:0 回复:2 评论:0 创建时间:2020-07-30T18:45:22
求BOX3简易电梯代码!!!不用门的,有金币!!
一勺小汤_纪念号async function openDoor(theDoor){
world.querySelectorAll(theDoor).forEach(async(door)=>{
for(door.time=0;door.time<31;door.time++){
door.position.x -= 0.1;
await sleep(50);
}
await sleep(5000);
for(door.time=0;door.time<31;door.time++){
door.position.x += 0.1;
await sleep(50);
}
})
}点赞0
评论