Пример #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;
 }
Пример #2
0
 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);
        }
Пример #4
0
        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);
        }