Exemplo n.º 1
0
 private void OnRenderFrame(object s, Xamarin.FrameEventArgs e)
 {
     if (!Active || UIViewController.SoftKeyboardBeingShownOrHid)
     {
         return;
     }
     UIView.MakeCurrent();
     RaiseRendering();
     UIView.SwapBuffers();
     fpsCounter.Refresh();
 }
Exemplo n.º 2
0
        private void OnUpdateFrame(object s, Xamarin.FrameEventArgs e)
        {
            if (!Active || UIViewController.SoftKeyboardBeingShownOrHid)
            {
                return;
            }
            var delta = (float)Math.Min(e.Time, Application.MaxDelta);

            RaiseUpdating(delta);
            Input.CopyKeysState();
            Input.ProcessPendingKeyEvents(delta);
            AudioSystem.Update();
        }
Exemplo n.º 3
0
 protected override void OnUpdateFrame(Xamarin.FrameEventArgs e)
 {
     base.OnUpdateFrame(e);
     ProcessTextInput();
 }