Overlapping Noesis GUI Panel, click not working on button.
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.

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.

Last edited by kguner on 12 Jan 2017, 10:08, edited 1 time in total.
-
-
sfernandez
Site Admin
- Posts: 3203
- Joined:
Re: Overlapping Noesis GUI Panel, click not working on butto
Hi,
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.
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.
Who is online
Users browsing this forum: Ahrefs [Bot] and 7 guests