Ejemplo n.º 1
0
 /// <summary>
 /// Handles the LostFocus event of the <see cref="GameBase.RenderWindow"/>.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
 void rw_LostFocus(object sender, EventArgs e)
 {
     if (LostFocus != null)
     {
         LostFocus.Raise(this, e);
     }
 }
Ejemplo n.º 2
0
 public void LoseFocus()
 {
     LostFocus.Raise(this, EventArgs.Empty);
     if (_useGenericInteractionIndicators)
     {
         _interactionIndicatorRend.sprite = null;
         _interactionIndicatorPS.Stop();
     }
 }