Exemple #1
0
 void OnMouseExit()//mouse exit
 {
     m_MouseOver = false;
     hoverScript.OffHover();//hover script
 }
Exemple #2
0
 void OnMouseExit()//when mouse leaves game object
 {
     mouseOver = false;
     hoverScript.OffHover();//call function from hovering object script
 }