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