Beispiel #1
0
 private void OnApplicationFocus(bool hasFocus)
 {
     hasGameFocus = hasFocus;
     if (!hasFocus)
     {
         RecipeTooltip.Hide();
     }
     else if (mouseOver)
     {
         CheckRequirement();
     }
 }
Beispiel #2
0
 public void OnCursorExit()
 {
     mouseOver = false;
     RecipeTooltip.Hide();
 }