在android上面注册了多点触控,返回的点数总是1,是什么原因
onTouchesBegan(const std::vectorcocos2d::Touch*& touches, cocos2d::Event *event){
for (auto &item : touches)
{
auto touch = item;
auto location = touch->getLocation();
count++;
}
CCLOG(" ----onTouchesBegan: %d,,count=%d", touches.size(),count);
}
log输出都是1,1