改善专题提供改善的最新资讯内容,帮你更好的了解改善。
一、基本使用 addTouchEventListener是属于Widget下的触摸事件相关的操作,基本使用规则如下: var button = new ccui.Button() button.addTouchEventListener(this.touchEvent, this) touchEvent: function (sender, type) { switch (type) {
http://bbs.chinaunix.net/forum.php?mod=viewthread&tid=4054291&extra=&ordertype=1&page=1