Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Dean on April 16, 2015, 01:01:29 PM

Title: NGUI ScrollView doesn't hide sub elements
Post by: Dean on April 16, 2015, 01:01:29 PM
Hello, help me please, i have a problem: I created an UI Panel + UIScrollView, put inside an UIGrid, after that, inside I put several elements as UIDragDropItems.

UIPanel + UIScrollView
- UIGrid
- - item
- - item1
- - item2

But when i scroll down my UIPanel and theese items come invisible, I stiil can hover on them mouse cursor and click them, drag an so on, as they were visible.
I tried to change depth, z.position, but nothing happens. How can i fix it?

(http://screenit.ru/d1/img_75089936699.png)

(http://screenit.ru/d1/img_75089934744.png)
Title: Re: NGUI ScrollView doesn't hide sub elements
Post by: Dean on April 17, 2015, 07:20:29 AM
Well, I've solved my problem: i should have chosen "UI" in the Event type of UICamera

(http://screenit.ru/d1/img_75090027224.png)