void EffectAdvanceTextLayer::backCallback(NSObject* pSender) { CCScene* s = new EffectAdvanceScene(); s->addChild( backEffectAdvanceAction() ); CCDirector::sharedDirector()->replaceScene(s); s->release(); }
void EffectAdvanceTextLayer::backCallback(Object* sender) { auto s = new EffectAdvanceScene(); s->addChild( backEffectAdvanceAction() ); Director::getInstance()->replaceScene(s); s->release(); }