Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Seith on February 19, 2014, 12:37:27 PM
-
Hello, I have a couple of buttons that I show and hide as my game UI requires but the problem is I don't know how to give focus to a button after I just activated it. The UI is manipulated via a x360 gamepad and I would like to be able to navigate between the buttons by using the left analog stick up/down.
But as I said I need to highlight ("hover") a specific UIButton so that pressing a button on the gamepad will trigger the OnClick method of said UIButton.
-
UICamera.selectedObject = yourButtonGameObject;