UIEvent
ButtonInteraction.lua.txt
通过LuaBehaviour
执行此Lua
脚本,并通过Injections数组中添加一组input
Name:input
Value:InputField
function start()
print("lua start...")
self:GetComponent("Button").onClick:AddListener(function()
print("clicked, you input is '" ..input:GetComponent("InputField").text .."'")
end)
end
?