异步计时器
game.loop
game.loop(10, function()
local plr = get_local_player()
if plr:is_self() then
-- 本地渲染动作
end
end)Last updated
game.loop(10, function()
local plr = get_local_player()
if plr:is_self() then
-- 本地渲染动作
end
end)Last updated