コード例 #1
0
        public static CCScene InScene(CCWindow window)
        {
            var scene = new CCScene(window);
            var layer = new CocosInjectionLayer();

            scene.AddChild(layer);

            return(scene);
        }
コード例 #2
0
        public override void ApplicationDidFinishLaunching(CCApplication application, CCWindow mainWindow)
        {
            base.ApplicationDidFinishLaunching(application, mainWindow);

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