📜  roblox 如何获取玩家 fps - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:17.042000             🧑  作者: Mango

代码示例1
local RunService = game:GetService("RunService")

local current_fps = 0

RunService.RenderStepped:Connect(function()
current_fps += 1
wait(1)
current_fps -= 1
end)