- Home /
GUI flashing on hover
When I hover over an object, a box appears above it showing some data. If the mouse is over the object, the GUI flashes on and off because I'm using OnMouseEnter/Exit to show/hide the GUI.
If I want a data box to appear above a hovered object, and have buttons inside it be clickable, what is the best way to do it? I tried increasing the Y of the BoxCollider so I could move my mouse up without the OnMouseExit triggering, but when the GUI is hovered it acts like an OnMouseExit.
And having a close button isn't possible due to the amount of objects.
Is it flashing because the GUI window is getting in the way ?
It flashes because it turns off On$$anonymous$$ouseExit, then turns on instantly On$$anonymous$$ouseEnter.
Your answer
Follow this Question
Related Questions
Trigger GUI working wrong 1 Answer
iTween colliders 1 Answer
Impact Force Gui 0 Answers
Is Mesh Collider Optimal for GUI? 2 Answers
Adding 1 point after collison 1 Answer