📜  Tap 不是 ClickDetector 的有效成员 - 无论代码示例

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

代码示例1
-- This is an LUA SCRIPT! used by core and roblox or other platforms.

local detector = (clickdetector's location)

detector.Tapped:Connect(function()
    print("Hello World!")
end)