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

            base.OnPause();
        }