3
我找不到它的任何地方记载:/如何延迟或暂停ansca日冕中的某个功能? (LUA)
(问题是标题)
发现this,但不能让它开始工作。
function onCollision(event)
--code--
end
Runtime:addEventListener("collision", listener)
local function listener(event)
timer.performWithDelay(
1000, onCollision)
end