コード例 #1
0
 public static new CCScene sceneWithTitle(string title)
 {
     var pScene = new CCScene();
     var controlLayer = new CCControlButtonTest_Event();
     if (controlLayer != null && controlLayer.Init())
     {
         controlLayer.getSceneTitleLabel().Label = (title);
         pScene.AddChild(controlLayer);
     }
     return pScene;
 }
コード例 #2
0
        public new static CCScene sceneWithTitle(string title)
        {
            var pScene       = new CCScene(AppDelegate.SharedWindow);
            var controlLayer = new CCControlButtonTest_Event();

            if (controlLayer != null)
            {
                controlLayer.getSceneTitleLabel().Text = (title);
                pScene.AddChild(controlLayer);
            }
            return(pScene);
        }
コード例 #3
0
        public new static CCScene sceneWithTitle(string title)
        {
            var pScene       = new CCScene();
            var controlLayer = new CCControlButtonTest_Event();

            if (controlLayer != null && controlLayer.Init())
            {
                controlLayer.getSceneTitleLabel().Label = (title);
                pScene.AddChild(controlLayer);
            }
            return(pScene);
        }
コード例 #4
0
        public new static CCScene sceneWithTitle(string title)
		{
            var pScene = new CCScene (AppDelegate.SharedWindow);
			var controlLayer = new CCControlButtonTest_Event();
			if (controlLayer != null)
			{
				controlLayer.getSceneTitleLabel().Text = (title);
				pScene.AddChild(controlLayer);
			}
			return pScene;
		}