按照官网的教程,做了一个按钮。
var startItem = new cc.MenuItemImage(
res.buttons.startGame,
res.buttons.startGameHover,
function(){
console.log(this)
}, this
);
```
运行后,发现是点击切换的。我想要实现鼠标移上去就可以切换为 hover的图片,需要怎么弄呢?