Hi! I’ve been playing around with the 4.6 beta, but I’ve been having a hard time figuring things out… For part of my UI, I want to have a window that, depending on how many objects is in an array, makes buttons (one button per object in the array), and has a scroll bar if the list of buttons won’t fit in the window.
How do you create a button in the script?
I’m assuming I can detect when to enable/disable the scroll bar by checking (button height * number of buttons), but how do I make it scroll down through the list of buttons?
What should I use for the window to hold it all, a Panel?
Any other tips/tricks/suggestions? Thanks for your help