coco: cc.Sprite //是个精灵。
//给图片添加点击事件。 coco
// console.log('--this.coco--', this.coco)
this.coco.node.on(cc.Node.EventType.TOUCH_START, function (event) {
console.log("TOUCH_START this.coco", event.type);
});
this.coco.node.on(cc.Node.EventType.TOUCH_MOVE, function (event) {
console.log("TOUCH_MOVE this.coco", event.type);
});
this.coco.node.on(cc.Node.EventType.TOUCH_END, function (event) {
console.log("TOUCH_END this.coco", event.type);
});