for (int i=0; i < 3; i++){
Button * button = static_cast<Button *>(layout->getChildByTag(120+i)); button->addTouchEventListener(CC_CALLBACK_2(MenuLayer::touchCallback, this)); }
检查父节点对象是否成功取到