示例#1
0
        public override void RestartCallback(object sender)
        {
            CCScene s = new ProgressActionsTestScene();

            s.AddChild(ProgressActionsTestScene.restartAction());

            Director.ReplaceScene(s);
        }
示例#2
0
        public void restartCallback(CCObject pSender)
        {
            CCScene s = new ProgressActionsTestScene();

            s.addChild(ProgressActionsTestScene.restartAction());

            CCDirector.sharedDirector().replaceScene(s);
            //s->release();
        }