cocosdx3.0 lua项目 从cocostudio中到处得ui 获取button 以及button监听
localwinsize=cc.Director:getInstance():getWinSize()
locallayer=cc.Layer:create()
localscene=cc.Scene:create()
n=2
localfunctiontouchEvent(sender,eventType)
cclog(sender:getTag())
ifeventType==ccui.To