public MainPage() { InitializeComponent(); SupportedOrientations = SupportedPageOrientation.PortraitOrLandscape; ControlsModule.Init(); global::Xamarin.Forms.Forms.Init(); LoadApplication(new XFExtensions.Samples.App()); }
public override void Awake() { base.Awake(); #if UNITY_EDITOR || !MOBILE_PLATFORM module = new MouseControlModule(this); #elif UNITY_ANDROID module = new TouchControlModule(this); #endif }