playMaker

Author Topic: ScrollView Looping Pooling and Array Logic  (Read 1593 times)

johannastephen

  • Playmaker Newbie
  • *
  • Posts: 35
ScrollView Looping Pooling and Array Logic
« on: February 21, 2016, 03:46:35 PM »
Hi folks! I'm trying to make a scrollable list with buttons. I have 8 buttons and only 4 of buttons are visible in scrollview. Other buttons are for pooling; spawn or despawn.


Problem is here: I have 5 array lists. They have prefilled string items. My buttons should get strings from array one by one.

I mean that, for example in my scrollview's last button gets 4th index of 1st array. When i scroll down for more, the button at the top should move to bottom(set last sibling index)  and get the next index of this array. Of course when scrollbar is dragged to up, process goes reversed. Also app runs again, app checks which arrays has been selected. And for the last 6th one, buttons should be modified again. I'm at stuck. How should i do this? Thank you.

Unity ver: 5.3 Playmaker: 1.8 Pool Manager 5 Easy Save 2.8
« Last Edit: February 22, 2016, 06:33:28 AM by johannastephen »