我使用的是cocos2dx2.2.3
cocos2d::ui::Layout* m_pLayout;
m_pUILayer = TouchGroup::create();
m_pUILayer->setTouchEnabled(true);
m_pUILayer->setTouchPriority(-129);
m_pUILayer->setTouchMode(kCCTouchesOneByOne);
m_pUILayer->scheduleUpdate();
this->addChild(m_pUILayer,6);
我试过了。可以屏蔽下层的touch事件。