public PointeriOS(InputSourceiOS source, iOSWindow uiControl, XenkoGameController gameController) { Source = source; this.uiControl = uiControl; this.gameController = gameController; var window = uiControl.MainWindow; window.UserInteractionEnabled = true; window.MultipleTouchEnabled = true; uiControl.GameView.MultipleTouchEnabled = true; gameController.TouchesBeganDelegate += Touched; gameController.TouchesMovedDelegate += Touched; gameController.TouchesEndedDelegate += Touched; gameController.TouchesCancelledDelegate += Touched; uiControl.GameView.Resize += OnResize; OnResize(null, EventArgs.Empty); }
public InputSourceiOS(iOSWindow uiControl) { this.uiControl = uiControl; }