2

I have an NGUI Scroll View inside my panel, in which i have an NGUI Texture called YellowBoard(see image for hierarchy). YellowBoard has UIDragScrollView and Boxcollider attached to it

enter image description here

enter image description here

as shown in the image , i have 250 child gameobjects with boxcolliders ( NGUI Buttons - to be more specific) under the "LevelButtons"

MY PROBLEM :-

with this much amount of game objects moving when i drag/pan "YellowBoard" , the responsiveness is very low.

When i keep 100 buttons only, scroll view works fine. but as increase number of buttons scroll view gets more slower.

can some one guide me what alternatives i can use to solve my problem. since i can't reduce the number of level buttons.

Community
  • 1
  • 1
Pawan Joshi
  • 1,581
  • 3
  • 20
  • 40

1 Answers1

0

Here is my solution: Hide the buttons outside the ScrollView's panel region. Active the buttons dynamically when you drag.

PeakCoder
  • 852
  • 8
  • 20