- Home /
Mouse ignore object
Hi evryone.
I have a menu, with different feedback on it. See picture:
So we have the button, and the text. Both are different game objects.
Here is the thing: When I put my mouse over the button, I start a timer of 0.5 sec to display a tooltip. The problem is, if I put my mouse over the text, the game considers that the mouse exited the button. I don't want that, I would like my mouse to "ignore" the text.
Any ideas on how to proceed? Thanks in advance.
Answer by michielbos · Feb 16, 2013 at 10:46 PM
Well, if the text is a gameobject, you can set its layer to Ignore Raycast to ignore the mouse.
Your answer
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Setting Scroll View Width GUILayout 1 Answer
How to save and load text in a GUI TextArea 1 Answer
How to dynamically change the text in Unity(Augmented Reality + NYARtoolkit(C#)) ? 0 Answers
Destroy a Game object on collision and add it to my Gui??? 1 Answer