Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Tatanan on December 29, 2014, 12:40:20 PM

Title: 2 UI Roots, 2 Panels and blur
Post by: Tatanan on December 29, 2014, 12:40:20 PM
Hello.
I want to add blur to certain elements (and not to others) and my idea is to have 2 panels (so 2 UI Roots) on 2 different layers with 2 Cameras (so 2 UI Cameras) watching one layer and then being able to apply Blur effect.
May I have 2 UI Roots? Is it this the correct way?
Thank you.
Title: Re: 2 UI Roots, 2 Panels and blur
Post by: ArenMook on December 30, 2014, 02:03:06 PM
As long as they are on different layers, sure. Although if the UI type is the same, consider doing this instead:

UIRoot
- UI #1
-- UICamera
-- UIPanel
- UI #2
-- UICamera
-- UIPanel