I’ve noticed that UI buttons don’t respond to hovering from the cursor until after a mouse click. As far as I can tell, it looks like the user must first click on the canvas in order to “activate” (for lack of a better word) the buttons’ animation states. I thought changing the Event System’s “First Selected” object might affect this, but it did not. The object was indeed selected on load, but it (and other buttons) still did not use their states until after a click. How might this behavior be altered?
Note:This behavior is observed within the editor’s game view as well as in standalone builds.
Thank you in advance for any assistance you’re able to provide.
Do you observe this behavior in the editor, or only when running in the web player? In the web player, I have observed it takes one click on the player before it has mouse focus.
For what it is worth, I have a GUI right now in v4.6.0f3 with hover states, that highlight immediately on hover in the editor without having to click first, but in the web player it does take one click to “activate” them.
My apologies. I should have specified this. I will update the original post.
I am not using the web player. This behavior is observed within the editor’s game view as well as in standalone builds. It was such that I originally thought that I had accidentally taken the focus off of the game’s window (or off of Unity, in the case of the editor’s game view). But this is not the case.