- Home /
GUI Tooltip reacts to Mouse and Keyboard in Web Player? Why?
When including this simple Button Tooltip
function OnGUI () { GUI.Button (Rect (0, 0, 100, 20), GUIContent ("Game Tips", "- To Toggle through background Music Press 'P'\n\n- Control your Jumps"));
// If the user hovers the mouse over the button, the global tooltip gets set
GUI.Label (Rect (0, 50, 200, 100), GUI.tooltip);
}
It reacts perfectly in Unity itself just reacting to Mouse Over, but when exported to the Web Player the Labels Appear when pressing any key also?!
Why is this happening in WebPlayer?? How do you stop it
Answer by lucariolu3d · Mar 11, 2020 at 12:04 AM
kinda sad that this hasnt been answered in over a decade
Your answer
![](https://koobas.hobune.stream/wayback/20220613074309im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
Are there any other options I'm missing for playing web-player builds on iOS browsers? 0 Answers
Animation for character movement not being stopped on Task.WhenAll() 1 Answer
Detecting Mouse Over Using Tooltip 2 Answers