Esempio n. 1
0
        public static CCScene InScene(CCWindow window)
        {
            var scene = new CCScene(window);
            var layer = new CocosInjectionLayer();

            scene.AddChild(layer);

            return(scene);
        }
Esempio n. 2
0
        public override void ApplicationDidFinishLaunching(CCApplication application, CCWindow mainWindow)
        {
            base.ApplicationDidFinishLaunching(application, mainWindow);

            mainWindow.RunWithScene(CocosInjectionLayer.InScene(mainWindow));
        }