示例#1
0
 public new static CCScene sceneWithTitle(string title)
 {
     var pScene = new CCScene (AppDelegate.SharedWindow, AppDelegate.SharedViewport);
     var controlLayer = new CCControlSwitchTest();
     if (controlLayer != null)
     {
         controlLayer.getSceneTitleLabel().Text = (title);
         pScene.AddChild(controlLayer);
     }
     return pScene;
 }
 public static CCScene sceneWithTitle(string title)
 {
     CCScene pScene = new CCScene();
     var controlLayer = new CCControlSwitchTest();
     if (controlLayer != null && controlLayer.Init())
     {
         controlLayer.getSceneTitleLabel().Label = (title);
         pScene.AddChild(controlLayer);
     }
     return pScene;
 }
示例#3
0
        public new static CCScene sceneWithTitle(string title)
        {
            var pScene       = new CCScene(AppDelegate.SharedWindow);
            var controlLayer = new CCControlSwitchTest();

            if (controlLayer != null)
            {
                controlLayer.getSceneTitleLabel().Text = (title);
                pScene.AddChild(controlLayer);
            }
            return(pScene);
        }
        public new static CCScene sceneWithTitle(string title)
        {
            CCScene pScene       = new CCScene();
            var     controlLayer = new CCControlSwitchTest();

            if (controlLayer != null && controlLayer.Init())
            {
                controlLayer.getSceneTitleLabel().Label = (title);
                pScene.AddChild(controlLayer);
            }
            return(pScene);
        }