标签: wordpress lua
简单问题:谁能告诉我为什么createBalloon函数会立即运行?
makeBalloonfromRainbow = timer.performWithDelay(5000, createBalloon(x, y), 1)
谢谢。
答案 0 :(得分:1)
修正:
makeBalloonfromRainbow = timer.performWithDelay(5000, function() createBalloon(x, y) end, 1)