关于lua EventCallback1传参的问题

_joystick.onMove:Add(FairyGUI.EventCallback1(function() print("AddItem") end),self)

erro: bad argument #1 to 'delegateType' (function expected, got userdata) 第一个参数类型不对
已邀请:

qihaoran

赞同来自:

这个要怎么解决呢 谢谢各位

zhendery

赞同来自:

直接_joystick.onMove:Add(function() print("AddItem") end,self) ?

要回复问题请先登录注册