void OnMouseEnter()//mouse over { m_MouseOver = true; hoverScript.OnHover(this.gameObject);//hover script }
void OnMouseEnter()//when mouse is over this game object { mouseOver = true; hoverScript.OnHover(this.gameObject); //call function from hovering object script }