示例#1
0
        public void switchLayer(float dt)
        {
            //unschedule(Bug624Layer.switchLayer);

            CCScene scene = CCScene.node();

            scene.addChild(Bug624Layer2.node(), 0);
            CCDirector.sharedDirector().replaceScene(CCTransitionFade.transitionWithDuration(2.0f, scene, new ccColor3B {
                r = 255, g = 255, b = 255
            }));
        }
示例#2
0
 public static new Bug624Layer2 Create()
 {
     var ret = new Bug624Layer2();
     ret.Init();
     return ret;
 }