I'm trying to add a scrollable list of buttons inside a panel from C# scripting inside Visual Studio.
I can make the scrollbar and attach it to a panel and manually add buttons inside the panel from the UI but I want to code for the entire panel along with scrollbar and create buttons inside that newly created panel.
Can anyone help me with this?
In Unity I can use the OnGUI function and use the GUI class to add these features but I dont know how to do that in Winform application.
