Our game uses the controller only, and I'm trying to implement modal windows.
When the player presses on a button, I'm displaying a new modal window over the top of the previous one,
and setting UICamera.selectedObject to the button I want selected.
e.g. a classic "Do you want to do this? Cancel / Confirm" window.
The panel is displayed and the default item is selected correctly.
However for some reason when I press Up/Down/Left/Right, the selection on the panel underneath changes.
It's like just the visuals have been changed, but there's logic somewhere that still thinks the button underneath is selected.
- Is there a way I can stop UIButtonKeys from doing this?
- Do I need to disable the background panel? I don't want to hide it, just to stop it receiving input.
- Am I correct in setting UICamera.selectedObject manually throughout my code?