Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: parera95 on August 04, 2014, 08:24:53 AM
-
Hi, i'm a new user of the NGUI plugin, and I have a problem when I tried to use Keyboard and mouse in the same menu, the problem I have is that when i selct something whith the Keyboard, and after i select another option with mouse bouth are hightlited. I want to refresh the selction giving priority to keyboard. There's a way to fix my problem?
Sorry if I spell some word wrong, I'm Spanish.
Thanks.
-
Keyboard selection and mouse selection are different. Keyboard selection is achieved by actually selecting the game object. Mouse selection is achieved by hovering over something. Hovering doesn't clear selection. If you want it to, then just set UICamera.selectedObject = null; in OnHover.