void P008::onClickNextButton(Node *node, WJTouchEvent *event) { PBase::onClickNextButton(node, event); HandLayerState state = m_hand->getHandstate(); // 当前显示整个手和对单个指甲操作的时候点击next进入手环装饰 if (state == HandLayerState::normalShowAllState || state == HandLayerState::drawingSingleNailColorState || state == HandLayerState::drawingSingleNailDecorState || state == HandLayerState::drawingSingleNailPatternState) { m_hand->gotoWristBandMode(); hideNextButton(); } // 当前装饰手环 else if (state == HandLayerState::wristbandHandState) { showStarDialog(); } }
void PushBallScene::nextStep() { log("next"); hideNextButton(); }