📜  儿童循环 Roblox Lua 代码示例

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

代码示例1
-- Generic for-loop example
local children = workspace:GetChildren()
for i, child in ipairs(children) do
    print(child.Name .. " is child number " .. i)
end