Author Topic: Multiple menu panels/screens and transitioning  (Read 3547 times)

eucryptic

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 27
    • View Profile
Multiple menu panels/screens and transitioning
« on: August 08, 2013, 03:37:45 AM »
I am trying to produce a multiple screen menu system.
Each screen is shown one at a time.
The user is presented with a "splash screen" then if they press the start button, they are shown the "Main Menu screen" etc.

Each screen is a panel with button children.
When a screen is activated, I select the default button on that screen with UICamera.selectedObject

The problem I have is when users press first button, it transitions to the second screen.
Then for some reason when users release the joypad button, the previous menu's button is released, the UICamera's focus is set back to the original (now disabled) button.

  • What is the best practice for using multiple menu screens with NGUI?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Multiple menu panels/screens and transitioning
« Reply #1 on: August 08, 2013, 09:27:28 AM »
Have you looked at the controller menu example that comes with NGUI?