public void restartCallback(CCObject pSender)
        {
            CCScene s = new CocosNodeTestScene();//CCScene.node();

            s.addChild(CocosNodeTestScene.restartCocosNodeAction());

            CCDirector.sharedDirector().replaceScene(s);
        }
Exemplo n.º 2
0
        public override void RestartCallback(object sender)
        {
            base.RestartCallback(sender);
            CCScene s = new CocosNodeTestScene(); //CCScene.node();

            s.AddChild(CocosNodeTestScene.restartCocosNodeAction());

            Director.ReplaceScene(s);
        }