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