Hello, i have the following problem:
Reproduction steps:
- Create a new Scene, create a new Gui.
- Make some buttons.
- Make some more buttons, position them to interfere with the buttons you previously created, put them in front (either depth or z value) and disable them.
- Create a script for the UIRoot that calls DontDestroyOnLoad( .. ) on Awake.
- Create a second scene
- Create a method in your UIRoot script that changes to the new Scene - call it from one of the buttons.
Now if you start this example, as long as you are in your first Scene, everything works fine. As soon as you change to the second Scene, you get problems hoovering/clicking your buttons, because for some reason the invisible buttons are interfering you visible buttons.
Anyone have any ideas why it is this way and how to solve this?
I'm using Unity 3.5.6 + NGUI 2.2.6