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