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; }
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); }