Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: drawmaster77 on January 21, 2014, 05:32:57 PM

Title: UITexture blocks my UI
Post by: drawmaster77 on January 21, 2014, 05:32:57 PM
I am trying to use UITexture for backdrop but it covers some of my UI elements. I tried setting the depth to very small number and also tried moving it back but it does not help.
Title: Re: UITexture blocks my UI
Post by: Nicki on January 21, 2014, 06:11:05 PM
Are you using a custom material? Try to see what the renderqueue of the UITexture is compared to the panels.
Title: Re: UITexture blocks my UI
Post by: drawmaster77 on January 22, 2014, 12:17:50 AM
no I am using default NGUI ulit transparent I think? In fact I can just copy the backdrop from Example Quest scene and paste that into my scene and I am having the same problem.
Title: Re: UITexture blocks my UI
Post by: ArenMook on January 22, 2014, 02:01:30 AM
In the quest example the backdrop is on its own panel (UI Root panel). Widgets are always sorted by panel's depth first, and only then by their own depth. If you have more than one panel, you need to adjust their depths accordingly.