Esempio n. 1
0
 /// <summary>
 /// Called when [deactivate].
 /// </summary>
 public override void OnDeactivate()
 {
     base.OnDeactivate();
     if (this.game != null)
     {
         game.OnDeactivated();
     }
 }
Esempio n. 2
0
        protected override void OnPause()
        {
            if (game != null)
            {
                game.OnDeactivated();
            }

            base.OnPause();
        }
Esempio n. 3
0
 public override void OnResignActivation(UIApplication application)
 {
     base.OnResignActivation(application);
     game.OnDeactivated();
 }
Esempio n. 4
0
 public override void OnSuspending()
 {
     game.OnDeactivated();
 }