1、 menu_selector(HelloWorld::menuShareCallback));---------传递的参数为(cocos2d::Ref* pSender)
2、schedule_selector(Layer::callback)------------传递的参数为(float dt)!
3、void ccTouchMoved(cocos2d::CCTouch *pTouch,cocos2d::CCEvent *pEvent);————————改为:void TouchMoved(cocos2d::Touch * touch,cocos2d::Event * event)
原文链接:https://www.f2er.com/cocos2dx/340333.html