Page 1 of 1

Overlapping Noesis GUI Panel, click not working on button.

Posted: 06 Jan 2017, 11:53
by kguner
I have several Noesis GUI Panels on the same camera. Some of them overlap. The one to be displayed on top is lower in the list of components. My buttons Commands are not working. For example the window with the Blue bar with the X button in the corner is overlapping the box titled "Dawn of the Chickens". When I click the X button my command is not called. If I disable the Noesis GUI Panel that is behind it it works correctly. When I mouseover the X button, the button is highlighted so it is receiving mouse events.

Any idea what I could be doing wrong or what possibilities I can look into?

I am using NoesisGUI v1.2.6f5 and Unity 5.5.0f3.


Re: Overlapping Noesis GUI Panel, click not working on butto

Posted: 09 Jan 2017, 21:10
by sfernandez

Using more than one NoesisGUIPanel, rendering to the same screen is not recommended. Because we don't know the expected order in which we should process events for each component.

It is better to use a single panel to manage the UI rendered to a screen/window. And create custom dialog controls using the Panel.ZIndex to order them inside the NoesisGUIPanel.

Several NoesisGUIPanel may be used though, if you need to render to offscreen textures.