[LayaAir2]请问layabox怎么模拟按钮被点击,也就是按钮自动点击

请问layabox怎么模拟按钮被点击,也就是按钮自动点击,不然会报错play() failed because the user didn't interact with the document fir
已邀请:

1711357286用户

赞同来自:

fgui.Events.dispatch(Laya.Event.CLICK, obj.displayObject, evt)

要回复问题请先

商务合作
商务合作