Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: TaleSia on July 28, 2014, 04:36:45 AM

Title: How to shade one scene but not disable it when highlights another scene?
Post by: TaleSia on July 28, 2014, 04:36:45 AM
HI,

 I want to highlight a selected panel,and still need to see the last selected one.So I will not set false value of SetActive to it.I just want to make it a little bit darker, and my question is: Is there a simple way to shallow it?Thanks for helping me out .
Title: Re: How to shade one scene but not disable it when highlights another scene?
Post by: ArenMook on July 29, 2014, 02:50:55 AM
Panel (depth 0)
- Whatever widgets you want shaded
Panel (depth 1)
- UITexture or UISprite with a pure white texture/sprite, set to black color and semi-transparent alpha.
Panel (depth 2)
- Widgets you want on top