kguner
Topic Author
Posts: 17
Joined: 07 Apr 2015, 18:38
Contact:

Overlapping Noesis GUI Panel, click not working on button.

06 Jan 2017, 11:53

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.

Image
Last edited by kguner on 12 Jan 2017, 10:08, edited 1 time in total.
 
User avatar
sfernandez
Site Admin
Posts: 1928
Joined: 22 Dec 2011, 19:20

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

09 Jan 2017, 21:10

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.

Who is online

Users browsing this forum: No registered users and 1 guest