예제 #1
0
        public override void RestartCallback(object sender)
        {
            CCScene s = new TileMapTestScene();

            s.AddChild(TileMapTestScene.restartTileMapAction());
            Director.ReplaceScene(s);
        }
예제 #2
0
        public void restartCallback(CCObject pSender)
        {
            CCScene s = new TileMapTestScene();

            s.addChild(TileMapTestScene.restartTileMapAction());

            CCDirector.sharedDirector().replaceScene(s);
        }