auto moveTo = MoveTo::create(1, Vec2(getLocation().x,getLocation().y);
getLocation应该是touch对象的方法, 建议多看一下c++语法和cocos文档及代码
auto moveTo = MoveTo::create(1, Vec2(getLocation().x,getLocation().y);
getLocation应该是touch对象的方法, 建议多看一下c++语法和cocos文档及代码