Exemple #1
0
        public void restartCallback(object pSender)
        {
            CCScene s = new LayerTestScene();

            s.AddChild(LayerTestScene.restartTestAction());
            CCDirector.SharedDirector.ReplaceScene(s);
        }
Exemple #2
0
        public override void RestartCallback(object sender)
        {
            CCScene s = new LayerTestScene();

            s.AddChild(LayerTestScene.restartTestAction());
            Director.ReplaceScene(s);
        }
Exemple #3
0
        public void restartCallback(CCObject pSender)
        {
            CCScene s = new LayerTestScene();

            s.addChild(LayerTestScene.restartTestAction());
            CCDirector.sharedDirector().replaceScene(s);
        }