I've created a simple pause menu that consists of panel, a label, and two buttons. The only options the user gets are to "Exit" or "Resume" the game. I'm using a controller and would like the "Resume" button to be highlighted by default when the menu displays. I've attached UIButtonKeys to both buttons and checked "Starts Selected" on the "Resume" button.
When the game runs, in the Start() method I use NGUITools.SetActive(objectPauseMenu, false); to hide the menu when the game begins. I call it again with "true" when the user requests the menu.
The problem is, the first time the menu is displayed no buttons are highlighted. If I close the menu and show it again, things work as expected. I've searched the forums, read the code, and tried all kinds of things. I cannot for the life of me make that button highlight properly the first time the menu is displayed! I'm using the full version of NGUI 2.6.3 and Unity3D 4.1.2f1.
Help! Thanks. :-)