0
我试图用计时器更改变量值时报告了问题。无法通过计时器更改值
其实我用下面的代码来执行:
local counter = math.random(100, 350)
local function changeCounterValue()
counter = math.random(130, 170)
end
tmr = timer.performWithDelay(1500, changeCounterValue, 0)
,但它只是不工作?
什么这让与Android呢? –
Corona以Android和iOS为目标,但这显然是一个独立于目标平台的Corona/Lua问题。 – acj
对不起,我正在使用CORONA SDK开发我的应用程序 – luaLover