Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: moghes on January 13, 2014, 08:40:56 AM

Title: Why scroll view has rigidbody component attached
Post by: moghes on January 13, 2014, 08:40:56 AM
Hello,

I had been using NGUI 3.0 or earlier version, and now using 3.0.6 ..
when I go to the top menu, NGUI>create>Scroll View ..
I see a rigidbody component attached to the "scroll view" game object (child to Anchor).

Can someone explain why or what's the reason for that? Instead of being attached with the script "UIScrollView" ..

Thanks,
moghes
Title: Re: Why scroll view has rigidbody component attached
Post by: Yukichu on January 13, 2014, 10:26:47 AM
The attached rigidbody improves performance when moving something around the screen I believe.

It was recommended by Unity.

Don't remove it, just leave it there.