3.cc.Node(二)事件响应

1.触摸事件 触摸事件类型: START, MOVED, ENDED(物体内), CANCEL(物体外);  监听触摸事件: node.on(类型, callback, target(回掉函数的this), [useCapture]); 关闭触摸事件: node.off(类型, callback, target(回掉函数的this), [useCapture]); targetOff (targe
相关文章
相关标签/搜索