public override void LoadView()
        {
            base.LoadView ();
            View = skView = new SKView {
                ShowsFPS = true,
                ShowsNodeCount = true,
                Frame = View.Frame,
            };

            var scene = new MyScene (View.Bounds.Size) {
                ScaleMode = SKSceneScaleMode.AspectFill
            };

            skView.PresentScene (scene);
        }
Beispiel #2
0
        public override void LoadView()
        {
            base.LoadView();
            View = skView = new SKView {
                ShowsFPS       = true,
                ShowsNodeCount = true,
                Frame          = View.Frame,
            };

            var scene = new MyScene(View.Bounds.Size)
            {
                ScaleMode = SKSceneScaleMode.AspectFill
            };

            skView.PresentScene(scene);
        }