0
簡單的問題:誰能告訴我爲什麼createBalloon函數立即運行?timer.performWithDelay立即運行
makeBalloonfromRainbow = timer.performWithDelay(5000, createBalloon(x, y), 1)
謝謝。
簡單的問題:誰能告訴我爲什麼createBalloon函數立即運行?timer.performWithDelay立即運行
makeBalloonfromRainbow = timer.performWithDelay(5000, createBalloon(x, y), 1)
謝謝。
固定:
makeBalloonfromRainbow = timer.performWithDelay(5000, function() createBalloon(x, y) end, 1)