cocos-js,Widget的addTouchEventListener改善

1、基本使用 addTouchEventListener是属于Widget下的触摸事件相关的操做,基本使用规则以下:web var button = new ccui.Button() button.addTouchEventListener(this.touchEvent, this) touchEvent: function (sender, type) { switch (type
相关文章
相关标签/搜索