Automatic scrolling as it receives the objects .

I have some pop up buttons on my scrollview. When hit play ,buttons pop up and if done manually scrolling is also supported. But what I am trying to bring is when my scene loads both my buttons and scrollview should work simultaneously i.e buttons popping up and scrollview getting scrolled as it receives the buttons.
Any help would be appreciated.
And thanks in advance.

If I understand corectly, you want to automatically scroll new buttons into view when they are added. What you can do is calculate how many buttons you already have, and how big their total size is, and give that total size as a parameter to the “BeginScrollView” method.

Here it says that you can set the scrollPosition (second parameter). So just set that parameter so the scroll shows our new object.