public override void RestartCallback(object sender) { CCScene s = new ProgressActionsTestScene(); s.AddChild(ProgressActionsTestScene.restartAction()); Director.ReplaceScene(s); }
public void restartCallback(CCObject pSender) { CCScene s = new ProgressActionsTestScene(); s.addChild(ProgressActionsTestScene.restartAction()); CCDirector.sharedDirector().replaceScene(s); //s->release(); }