📜  将值从 Onclicks roblox 传递给函数 - Lua 代码示例

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

代码示例1
-- By: incapaz, on ROBLOX forums

local function ChoiceSelected(parent)
    return function()
        Arrow.Parent = parent
        Arrow.Visible = true
    end
end

event:Connect(ChoiceSelected(parent))